Skip to content

Commit

Permalink
add back chest recipe replacement (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
screret authored May 5, 2024
1 parent 8be2bab commit e21cc77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ private static void harderBrickRecipes(Consumer<FinishedRecipe> provider) {

private static void hardWoodRecipes(Consumer<FinishedRecipe> provider) {
VanillaRecipeHelper.addShapedRecipe(provider, "ladder", new ItemStack(Blocks.LADDER, 2), "SrS", "SRS", "ShS", 'S', new UnificationEntry(TagPrefix.rod, GTMaterials.Wood), 'R', new UnificationEntry(TagPrefix.bolt, GTMaterials.Wood));

VanillaRecipeHelper.addShapedRecipe(provider, "bowl", new ItemStack(Items.BOWL), "k", "X", 'X', ItemTags.PLANKS);

VanillaRecipeHelper.addShapedRecipe(provider, "chest", new ItemStack(Blocks.CHEST), "LPL", "PFP", "LPL",
'L', ItemTags.LOGS,
'P', ItemTags.PLANKS,
'F', new ItemStack(Items.FLINT));
}

private static void hardIronRecipes(Consumer<FinishedRecipe> provider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ private static void harderBrickRecipes(Consumer<ResourceLocation> registry) {

private static void hardWoodRecipes(Consumer<ResourceLocation> registry) {
registry.accept(new ResourceLocation("minecraft:ladder"));
registry.accept(new ResourceLocation("minecraft:bowl"));
registry.accept(new ResourceLocation("minecraft:chest"));
}

private static void hardIronRecipes(Consumer<ResourceLocation> registry) {
Expand Down

0 comments on commit e21cc77

Please sign in to comment.