1 x 2 drawers and 2 x 2 drawers recipe now make more

This commit is contained in:
Buuz135 2022-05-30 22:31:31 +02:00
parent 513f1c3e54
commit 97aa3cd4c0
19 changed files with 40 additions and 22 deletions

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:acacia_2"
"item": "functionalstorage:acacia_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:acacia_4"
"item": "functionalstorage:acacia_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:birch_2"
"item": "functionalstorage:birch_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:birch_4"
"item": "functionalstorage:birch_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:crimson_2"
"item": "functionalstorage:crimson_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:crimson_4"
"item": "functionalstorage:crimson_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:dark_oak_2"
"item": "functionalstorage:dark_oak_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:dark_oak_4"
"item": "functionalstorage:dark_oak_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:jungle_2"
"item": "functionalstorage:jungle_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:jungle_4"
"item": "functionalstorage:jungle_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:oak_2"
"item": "functionalstorage:oak_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:oak_4"
"item": "functionalstorage:oak_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:oak_2"
"item": "functionalstorage:oak_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:oak_4"
"item": "functionalstorage:oak_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:spruce_2"
"item": "functionalstorage:spruce_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:spruce_4"
"item": "functionalstorage:spruce_4",
"count": 4
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:warped_2"
"item": "functionalstorage:warped_2",
"count": 2
}
}
}

View File

@ -29,7 +29,8 @@
}
},
"result": {
"item": "functionalstorage:warped_4"
"item": "functionalstorage:warped_4",
"count": 4
}
}
}

View File

@ -272,13 +272,13 @@ public class DrawerBlock extends RotatableBlock<DrawerTile> {
}
}
if (type == FunctionalStorage.DrawerType.X_2){
TitaniumShapedRecipeBuilder.shapedRecipe(this)
TitaniumShapedRecipeBuilder.shapedRecipe(this, 2)
.pattern("PCP").pattern("PPP").pattern("PCP")
.define('P', woodType.getPlanks())
.define('C', Tags.Items.CHESTS_WOODEN)
.save(consumer);
if (woodType.getName().equals("oak")){
TitaniumShapedRecipeBuilder.shapedRecipe(this)
TitaniumShapedRecipeBuilder.shapedRecipe(this, 2)
.setName(new ResourceLocation(FunctionalStorage.MOD_ID, "oak_drawer_alternate_x2"))
.pattern("PCP").pattern("PPP").pattern("PCP")
.define('P', new DrawerlessWoodIngredient())
@ -287,13 +287,13 @@ public class DrawerBlock extends RotatableBlock<DrawerTile> {
}
}
if (type == FunctionalStorage.DrawerType.X_4){
TitaniumShapedRecipeBuilder.shapedRecipe(this)
TitaniumShapedRecipeBuilder.shapedRecipe(this, 4)
.pattern("CPC").pattern("PPP").pattern("CPC")
.define('P', woodType.getPlanks())
.define('C', Tags.Items.CHESTS_WOODEN)
.save(consumer);
if (woodType.getName().equals("oak")){
TitaniumShapedRecipeBuilder.shapedRecipe(this)
TitaniumShapedRecipeBuilder.shapedRecipe(this, 4)
.setName(new ResourceLocation(FunctionalStorage.MOD_ID, "oak_drawer_alternate_x4"))
.pattern("CPC").pattern("PPP").pattern("CPC")
.define('P', new DrawerlessWoodIngredient())