Posted October 28, 20186 yr Hello! I made JSON recipes by using a Youtube tutorial. THe recipes works fine, with items like torch or glass pane, but not with blocks. I put this in the JSON file: { "type": "minecraft:crafting_shapeless", "pattern": [ "S", "D" ], "key": { "S": { "item": "minecraft:sand" }, "D": { "item": "minecraft:dirt" } }, "result": { "item": "lm:modern_block", "count": 2 } } And I get an error: [main/ERROR] [FML]: Parsing error loading recipe lm:modern_block com.google.gson.JsonParseException: Missing data for item 'minecraft:dirt' What am I did wrong? Thanks for any help!
October 28, 20186 yr Author Okay ,this error is happening regardless the recipe is shaped or shapeless. Blocks not working, but items working perfectly. Why I get this error messige? How can it not find the data of minecraft blocks?
October 28, 20186 yr 47 minutes ago, IgazHarcos said: Why I get this error messige? The error is pretty obvious 3 hours ago, IgazHarcos said: Missing data for item 'minecraft:dirt' It means that your recipe is missing the "data" property for that ingredient. You need to specify the data property for items that have subtypes, like dirt which has 2 subtypes - normal dirt and coarse dirt.
October 28, 20186 yr Author Jesus christ, the tutorial not mentioned that, that's why it wasn't oblivious for me, not mentioning this is the first time I develop JSON recipe. Thanks for Your answer, i'll look into "data"!
October 28, 20186 yr Author 2 minutes ago, diesieben07 said: This is why the usual Youtube Minecraft coding tutorial is hot garbage. Yes I know, I have problems a few times during the tutorial, but now i know what was the problem, and my mod works!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.