Fix broken recipe
This commit is contained in:
parent
7112755b90
commit
ef36c4e18f
|
@ -26,7 +26,7 @@ db1c86a602b40793abc52cebf70fad24cf6409d9 data/ironchest/recipes/chests/copper_ir
|
||||||
00cad996bebebe268e2e0a4c59c024127c6f4a06 data/ironchest/recipes/chests/gold_diamond_chest.json
|
00cad996bebebe268e2e0a4c59c024127c6f4a06 data/ironchest/recipes/chests/gold_diamond_chest.json
|
||||||
401d6ab7ffb4e815dc1a6562dd70bc7bd1f6d524 data/ironchest/recipes/chests/iron_gold_chest.json
|
401d6ab7ffb4e815dc1a6562dd70bc7bd1f6d524 data/ironchest/recipes/chests/iron_gold_chest.json
|
||||||
65b0fd37de2ebcfcf88488d3db138e5446ba7d21 data/ironchest/recipes/chests/iron_silver_chest.json
|
65b0fd37de2ebcfcf88488d3db138e5446ba7d21 data/ironchest/recipes/chests/iron_silver_chest.json
|
||||||
fc37ebdc5285a417531c988f03dedbd393d1641c data/ironchest/recipes/chests/silver_diamond_chest.json
|
f9187402fa4f5768064b0f5071709048c1bf0d24 data/ironchest/recipes/chests/silver_diamond_chest.json
|
||||||
e3d600f97882251c94f14c0bffa63f0b5ff81350 data/ironchest/recipes/chests/silver_gold_chest.json
|
e3d600f97882251c94f14c0bffa63f0b5ff81350 data/ironchest/recipes/chests/silver_gold_chest.json
|
||||||
c4ce3a2d83ee91bc30b7f88fef054b6331f71d8d data/ironchest/recipes/chests/vanilla_copper_chest.json
|
c4ce3a2d83ee91bc30b7f88fef054b6331f71d8d data/ironchest/recipes/chests/vanilla_copper_chest.json
|
||||||
6a2a1c0af03d5d3ea12ee4ee2f9ccebbb4f86196 data/ironchest/recipes/chests/vanilla_dirt_chest.json
|
6a2a1c0af03d5d3ea12ee4ee2f9ccebbb4f86196 data/ironchest/recipes/chests/vanilla_dirt_chest.json
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"type": "minecraft:crafting_shaped",
|
"type": "minecraft:crafting_shaped",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
"MGM",
|
"GGG",
|
||||||
"GSG",
|
"GSG",
|
||||||
"MGM"
|
"MMM"
|
||||||
],
|
],
|
||||||
"key": {
|
"key": {
|
||||||
"M": {
|
"M": {
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"item": "ironchest:gold_chest"
|
"item": "ironchest:diamond_chest"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -202,13 +202,13 @@ public class IronChestsRecipeProvider extends RecipeProvider implements IConditi
|
||||||
ResourceLocation silverToDiamondChest = location(folder + "silver_diamond_chest");
|
ResourceLocation silverToDiamondChest = location(folder + "silver_diamond_chest");
|
||||||
ConditionalRecipe.builder()
|
ConditionalRecipe.builder()
|
||||||
.addCondition(not(new TagEmptyCondition("forge:ingots/copper")))
|
.addCondition(not(new TagEmptyCondition("forge:ingots/copper")))
|
||||||
.addRecipe(ShapedRecipeBuilder.shapedRecipe(IronChestsBlocks.GOLD_CHEST.get())
|
.addRecipe(ShapedRecipeBuilder.shapedRecipe(IronChestsBlocks.DIAMOND_CHEST.get())
|
||||||
.key('M', Tags.Items.GEMS_DIAMOND)
|
.key('M', Tags.Items.GEMS_DIAMOND)
|
||||||
.key('S', IronChestsBlocks.SILVER_CHEST.get())
|
.key('S', IronChestsBlocks.SILVER_CHEST.get())
|
||||||
.key('G', Tags.Items.GLASS)
|
.key('G', Tags.Items.GLASS)
|
||||||
.patternLine("MGM")
|
.patternLine("GGG")
|
||||||
.patternLine("GSG")
|
.patternLine("GSG")
|
||||||
.patternLine("MGM")
|
.patternLine("MMM")
|
||||||
.addCriterion("has_item", hasItem(Tags.Items.GEMS_DIAMOND))::build)
|
.addCriterion("has_item", hasItem(Tags.Items.GEMS_DIAMOND))::build)
|
||||||
.setAdvancement(location("recipes/ironchest/chests/silver_diamond_chest"), ConditionalAdvancement.builder()
|
.setAdvancement(location("recipes/ironchest/chests/silver_diamond_chest"), ConditionalAdvancement.builder()
|
||||||
.addCondition(not(new TagEmptyCondition("forge:ingots/silver")))
|
.addCondition(not(new TagEmptyCondition("forge:ingots/silver")))
|
||||||
|
|
Loading…
Reference in New Issue