Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing recipes not working #19

Open
Nysse01 opened this issue Nov 5, 2018 · 4 comments
Open

Replacing recipes not working #19

Nysse01 opened this issue Nov 5, 2018 · 4 comments

Comments

@Nysse01
Copy link

Nysse01 commented Nov 5, 2018

So i am trying to replace iron chestplate recipe but it only chooses the vanilla and i have to disable vanilla in game to be able to use my recipe.

skarmklipp

Is something wrong? That should work right.
(the thing that is blurred out is my world name)

@Placid-Storm
Copy link

We need to see the actual contents of the json files. I'm more familiar with MineTweaker/CraftTweaker but just to check, did you disable the vanilla recipe and create a new recipe?

@Placid-Storm
Copy link

Placid-Storm commented Nov 5, 2018

The following should be a vanilla iron chestplate recipe. Make sure all the commas are correct. I was going to use code brackets but it doesn't keep my line spacing.

{
"type": "crafting_shaped",
"pattern": [
"# #",
"###",
"###"
],
"key": {
"#": {
"item": "minecraft:iron_ingot"
}
},
"result": {
"item": "minecraft:iron_chestplate"
}
}

@SwordsmanJoe
Copy link

I've also run into this problem, and as far as I can tell, you need some extra code for advancements. For example: I want to make magma blocks harder to make for a pack that allows you to smelt them into quartz ore.
{
"type": "minecraft:crafting_shaped",
"pattern": [
"#N#",
"#E#",
"#D#"
],
"key": {
"#": {
"item": "minecraft:magma_cream"
},
"N": {
"item": "minecraft:netherrack"
},
"E": {
"item": "minecraft:ender_pearl"
},
"D": {
"item": "minecraft:diorite"
}
},
"result": {
"item": "minecraft:magma_block",
"count": 2
}
}
That's the code I'm using, but the default recipe is still possible. Compare that to the VanillaTweaks on YouTuber Xisuma's page which work fine. For example, making 12 trapdoors at a time rather than only two.

@kingofdeamons
Copy link

can anyone tell me why this doesn't seem to work

{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:gravel"
}
],
"result": {
"id": "minecraft:sand",
"count": 1
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants