Open PelleXXX opened 1 year ago
Fabric fluids (and Create's fabric port's implementation of them) are kinda weird, so Fluid.of()
doesn't work properly on Fabric at the moment, but you can still use liquids in your recipes!
//Just replace
Fluid.of('minecraft:water', 1000)
//with
{"fluid":"minecraft:water", "amount":81000}
Converting from mB to Fabric's Fluid units is easy and fun! 😉 Just multiply the number by 81, so:
125mB x 81 = 10125 Fabric Fluid
Thanks to Nat, who's bot command on the discord this is mostly copied from.
Minecraft Version
1.19.2
KubeJS Version
kubejs-fabric-1902.6.0-build.142
Rhino Version
rhino-fabric-1902.2.2-build.268
Architectury Version
architectury-6.5.77-fabric
Forge/Fabric Version
Fabric - 0.14.18
Describe your issue
Im trying to use Fluid.of in a Create-Mixing recipe, but when i use /reload the recipe doesn't work, and JEI shows that instead of the fluid i wanted nothing. I've also seen that no recipe that uses a fluid works.
the version of Kubejs-Create im using is kubejs-create-fabric-1902.1.1-build.32.
this is what the recipe looks like in JEI: this is the code i use:
Crash report/logs
No response