Skip to content

Commit

Permalink
reverted back to items
Browse files Browse the repository at this point in the history
  • Loading branch information
J3fftw1 committed Aug 3, 2023
1 parent 69700d3 commit 8ea81a0
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ null, new ItemStack(Material.IRON_BLOCK), null
}

if (Slimefun.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_20)) {
for (Material bamboo : Tag.BAMBOO_BLOCKS.getValues()) {
displayedRecipes.add(new ItemStack(bamboo));
displayedRecipes.add(new ItemStack(Material.BAMBOO_PLANKS, 4));
}
// Bamboo blocks to Bamboo planks
displayedRecipes.add(new ItemStack(Material.BAMBOO_BLOCK));
displayedRecipes.add(new ItemStack(Material.BAMBOO_PLANKS, 4));

// Stripped Bamboo Blocks to Bamboo planks
displayedRecipes.add(new ItemStack(Material.STRIPPED_BAMBOO_BLOCK));
displayedRecipes.add(new ItemStack(Material.BAMBOO_PLANKS, 4));
}
}

Expand Down

0 comments on commit 8ea81a0

Please sign in to comment.