Jump to content

Issue with JSON Crafting


Seprix

Recommended Posts

Hey,

for some reason my recipes are not working how i want them to.

This code works for my custom boots:


 

Quote

 

{
    "type": "minecraft:crafting_shaped",
    
    "pattern":
    [
        "C C",
        "C C"        
    ],
    
    "key":
    {
        "C":
        {
            "item": "sm:ingot_obsidian"
        }
    },
    
    "result":
    {
        "item": "sm:boots_obsidian",
        "count": 1
    }
}


 

 

but this does not work for my custom chestplate:

 

Quote

{
    "type": "minecraft:crafting_shaped",
    
    "pattern": [
        "O O",
        "OOO",
        "OOO"       
    ],
    
    "key": {
        "O":
        {
            "item": "sm:ingot_obsidian"
        }
    },
    
    "result":
    {
        "item": "sm:items/chestplate_obsidian",
        "count": 1
    }
}

 

Does anyone know why?

 

Edited by Seprix
Link to comment
Share on other sites

23 minutes ago, CoderAtParadise said:

unless you have the items/ in your registry name it shouldn't be there

It was like this before:

 

Quote

{
    "type": "minecraft:crafting_shaped",
    
    "pattern": [
        "O O",
        "OOO",
        "OOO"       
    ],
    
    "key": {
        "O":
        {
            "item": "sm:ingot_obsidian"
        }
    },
    
    "result":
    {
        "item": "sm:chestplate_obsidian",
        "count": 1
    }
}

 

Link to comment
Share on other sites

Also tried to setup a new workspace, but sadly the same issue happened again.

I got the same issue with almost all of my custom chestplates, leggings and helmets..

For some reason the boots are all working fine for me

Edited by Seprix
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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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