Skip to content

Commit

Permalink
Adjust dendropotion ingredient
Browse files Browse the repository at this point in the history
Tree species "dead" has no explicit seed, dead bush shall suffice.
DynamicTreesTeam#84
DynamicTreesTeam#86
  • Loading branch information
ACGaming committed Apr 13, 2023
1 parent f6f17d0 commit 85bb477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dynamictreesbop/ModContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public static void registerRecipes(RegistryEvent.Register<IRecipe> event) {

// Do dead trees separately because the seed grows a species of oak tree
ItemStack outputStack = ModItems.dendroPotion.setTargetTree(new ItemStack(ModItems.dendroPotion, 1, DendroPotionType.TRANSFORM.getIndex()), TreeRegistry.findSpecies(new ResourceLocation(DynamicTreesBOP.MODID, DEAD)).getFamily());
BrewingRecipeRegistry.addRecipe(new ItemStack(ModItems.dendroPotion, 1, DendroPotionType.TRANSFORM.getIndex()), TreeRegistry.findSpecies(new ResourceLocation(DynamicTreesBOP.MODID, DEAD)).getSeedStack(1), outputStack);
BrewingRecipeRegistry.addRecipe(new ItemStack(ModItems.dendroPotion, 1, DendroPotionType.TRANSFORM.getIndex()), new ItemStack(Blocks.DEADBUSH), outputStack);

// Add seed <-> sapling recipes
addSeedExchange(BOPTrees.FLOWERING, FLOWERINGOAK);
Expand Down

0 comments on commit 85bb477

Please sign in to comment.