Skip to content

Commit

Permalink
Fixed vanilla and rubber slab recipe (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tier940 authored Jan 6, 2025
1 parent 2e45137 commit 848c562
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v1.2.3
- Fixed vanilla and rubber slab recipe

* * *

# v1.2.2
- Fixed behavior when hardWoodRecipes or harderRods cfg is false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,30 +33,37 @@ private static List<WoodTypeEntry> getDefaultEntries() {
return DEFAULT_ENTRIES = Arrays.asList(
new WoodTypeEntry.Builder(mcModId, "oak")
.planks(new ItemStack(Blocks.PLANKS), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB), null)
.log(new ItemStack(Blocks.LOG))
.build(),
new WoodTypeEntry.Builder(mcModId, "spruce")
.planks(new ItemStack(Blocks.PLANKS, 1, 1), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 1), null)
.log(new ItemStack(Blocks.LOG, 1, 1))
.build(),
new WoodTypeEntry.Builder(mcModId, "birch")
.planks(new ItemStack(Blocks.PLANKS, 1, 2), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 2), null)
.log(new ItemStack(Blocks.LOG, 1, 2))
.build(),
new WoodTypeEntry.Builder(mcModId, "jungle")
.planks(new ItemStack(Blocks.PLANKS, 1, 3), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 3), null)
.log(new ItemStack(Blocks.LOG, 1, 3))
.build(),
new WoodTypeEntry.Builder(mcModId, "acacia")
.planks(new ItemStack(Blocks.PLANKS, 1, 4), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 4), null)
.log(new ItemStack(Blocks.LOG2))
.build(),
new WoodTypeEntry.Builder(mcModId, "dark_oak")
.planks(new ItemStack(Blocks.PLANKS, 1, 5), null)
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 5), null)
.log(new ItemStack(Blocks.LOG2, 1, 1))
.build(),
new WoodTypeEntry.Builder(GTValues.MODID, "rubber")
.planks(MetaBlocks.PLANKS.getItemVariant(BlockGregPlanks.BlockType.RUBBER_PLANK), null)
.slab(new ItemStack(MetaBlocks.WOOD_SLAB), null)
.log(new ItemStack(MetaBlocks.RUBBER_LOG))
.build());
}
Expand Down

0 comments on commit 848c562

Please sign in to comment.