Skip to content

Commit

Permalink
Conditionally add tree sapling recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Apr 18, 2024
1 parent 7897440 commit 98c19d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/ganymedes01/etfuturum/recipes/ModRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,12 @@ private static void registerOreDictionary() {
registerOre("signWood", ModBlocks.CHERRY_SIGN.get());
registerOre("signWood", ModBlocks.BAMBOO_SIGN.get());

registerOre("treeSapling", ModBlocks.SAPLING.newItemStack(1, OreDictionary.WILDCARD_VALUE));
if (ConfigExperiments.enableMangroveBlocks) {
registerOre("treeSapling", ModBlocks.SAPLING.newItemStack(1, 0));
}
if (ConfigBlocksItems.enableCherryBlocks) {
registerOre("treeSapling", ModBlocks.SAPLING.newItemStack(1, 1));
}

for (int i = 0; i < modernWoodTypesEnabled.length; i++) {
if (modernWoodTypesEnabled[i]) {
Expand Down

0 comments on commit 98c19d8

Please sign in to comment.