Jump to content

Missing data for item 'minecraft:dirt'


Recommended Posts



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": [
    "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!

Link to comment
Share on other sites

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.

  • Thanks 1
Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.