Jump to content

Recommended Posts

Posted (edited)

so i have a block and i made a shapeless recipe for it by combing a gold block with a nether star:

{
    "type": "minecraft:crafting_shapeless",
    "ingredients": [
        {
            "item": "minecraft:gold_block"
        },
        {
            "item": "minecraft:nether_star"
        }
    ],
    "result": {
        "item": "output",
        "count": 1
    }
}
}

but i want to make it so that the the block can be made by puting 9 of the ingots the block is made of in a crafting table. after some searching around i found this code:

"type": "minecraft:crafting_shapeless",
	"ingredients": [
		{
			[
				"item": "minecraft:somewhat0",
				"data": 0
			],
			[
				"item": "minecraft:somewhat1",
				"data": 0
			]
		},
		{
			[
				"item": "minecraft:somewhat2",
				"data": 0
			],
			[
				"item": "minecraft:somewhat3",
				"data": 0
			]
			
		}

 but this doesnt work for me, it says a few times it got ] but expected something else. so what is the correct way of adding multiple recipes for one item?

Edited by madmagic
Posted
5 minutes ago, madmagic said:

but you cant have duplicate files, how would i do that then?

 

Recipes don't have to have the same name as their output item, you can call your recipes whatever you want.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
14 minutes ago, Choonster said:

 

Recipes don't have to have the same name as their output item, you can call your recipes whatever you want.

ah i see i'm dumb, thanks

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.