
Smelting recipes are unavailable, console throws up a JsonSyntaxException error
MrRubberDucky opened this issue ยท 0 comments
As per request, I decided to move the issues outta curseforge pages and put them here. ๐
All recipes that are smelting related are throwing up the following error in console:
[01:49:23] [Render thread/ERROR]: Parsing error loading recipe cspirit:item/food/mug_milk com.google.gson.JsonSyntaxException: Expected result to be a string, was an object ({"it...00}) at net.minecraft.class_3518.method_15287(class_3518.java:104) ~[intermediary-minecraft-1.18-rc3-client.jar:?] (...)
(for following items: mug_milk, gingerbread_sheet, peppermint_candy_red, sugar_cookie_sheet)
I suppose it has a issue with the recipe being something like this:
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:milk_bucket"
},
"result": {
"item": "cspirit:mug_milk",
"count": 1,
"experience": 2.0,
"cookingtime": 200
}
}
Where it seems to work just fine if the smelting recipe is like this instead:
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:milk_bucket"
},
"result": "cspirit:mug_milk",
"count": 1,
"experience": 2.0,
"cookingtime": 200
}
(took a look at Fabric's RecipeTypes tutorial docs for this one since I never saw a smelting recipe before ngl)
MC version: 1.18-rc3
Fabric Loader version: 0.12.5
Fabric API version: 0.43.1+1.18
Christmas Spirit version: 1.1.0-1.18
Mods loaded: Architectury, Christmas Spirit, Cloth Config v6, Fabric API, Roughly Enough Items
OS: Windows 10 x64