Forge - Fluid Output Broken
enigmaquip opened this issue ยท 3 comments
It appears that recipes with fluid outputs are not deserialized/serialized properly
Error parsing recipe create:mixing/tea[create:mixing]: {"type":"create:mixing","ingredients":[{"tag":"minecraft:leaves"},{"fluid":"minecraft:water","nbt":{},"amount":250},{"fluidTag":"forge:milk","amount":250}],"results":[{"fluid":"create:tea"}],"heatRequirement":"heated"}: com.google.gson.JsonSyntaxException: Missing amount, expected to find a Int
Error parsing recipe create:emptying/builders_tea[create:emptying]: {"type":"create:emptying","ingredients":[{"item":"create:builders_tea"}],"results":[{"item":"minecraft:glass_bottle","count":1},{"fluid":"create:tea"}]}: com.google.gson.JsonSyntaxException: Missing amount, expected to find a Int
Server Export has this with KubeJS Create
"create:emptying/builders_tea": {
"recipe": {
"type": "create:emptying",
"ingredients": [
{"item": "create:builders_tea"}
],
"results": [
{"item": "minecraft:glass_bottle", "count": 1},
{"fluid": "create:tea"}
]
}
}
and this without
"create:emptying/builders_tea": {
"recipe": {
"type": "create:emptying",
"ingredients": [
{"item": "create:builders_tea"}
],
"results": [
{"item": "minecraft:glass_bottle"},
{"fluid": "create:tea", "amount": 250}
]
}
}
if (resultJson.has("fluid")) {
outputFluids.add(FluidStackJS.fromJson(resultJson.get("fluid")));
should this line just be passing resultJson to FluidStackJS?