Open Evoloxi opened 2 years ago
I have a feeling FluidStackJS is general is broken on fabric, given that the "standard" fluid api was established pretty recently and does not offer a unified json format for fluid stacks. I'll figure out how to fix it soon:tm:, right now I'm a bit busy with uni and other projects however so help is greatly appreciated
Having similar issues with any Create recipe taking fluid inputs.
For example this recipe shows Air as the fluid input
event.recipes.createCompacting(
"minecraft:podzol",
[
"minecraft:dirt",
Fluid.of("minecraft:water", 8100)
]
)
I worked around it by using a custom recipe, which worked successfully
event.custom({
type: "create:compacting",
ingredients: [
Ingredient.of("minecraft:dirt").toJson(),
Ingredient.of(Fluid.of("minecraft:water", fluid_volume_to_fabric(100))).toJson()
],
results: [
Item.of("minecraft:podzol").toResultJson()
]
})
Fluid outputs seem to work fine
I also encountered this problem. I chose the datapack.
Issue:
When using
createFilling
, I am unable to define a fluid, as such always gets replaced withminecraft:empty
,Log:
https://paste.ee/p/XMg5D
Versions: