Skip to content

Commit 848c562

Browse files
authored
Fixed vanilla and rubber slab recipe (#20)
1 parent 2e45137 commit 848c562

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# v1.2.3
2+
- Fixed vanilla and rubber slab recipe
3+
4+
* * *
5+
16
# v1.2.2
27
- Fixed behavior when hardWoodRecipes or harderRods cfg is false
38

src/main/java/com/github/gtexpert/gtwp/loaders/recipe/GTWPWoodRecipe.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,37 @@ private static List<WoodTypeEntry> getDefaultEntries() {
3333
return DEFAULT_ENTRIES = Arrays.asList(
3434
new WoodTypeEntry.Builder(mcModId, "oak")
3535
.planks(new ItemStack(Blocks.PLANKS), null)
36+
.slab(new ItemStack(Blocks.WOODEN_SLAB), null)
3637
.log(new ItemStack(Blocks.LOG))
3738
.build(),
3839
new WoodTypeEntry.Builder(mcModId, "spruce")
3940
.planks(new ItemStack(Blocks.PLANKS, 1, 1), null)
41+
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 1), null)
4042
.log(new ItemStack(Blocks.LOG, 1, 1))
4143
.build(),
4244
new WoodTypeEntry.Builder(mcModId, "birch")
4345
.planks(new ItemStack(Blocks.PLANKS, 1, 2), null)
46+
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 2), null)
4447
.log(new ItemStack(Blocks.LOG, 1, 2))
4548
.build(),
4649
new WoodTypeEntry.Builder(mcModId, "jungle")
4750
.planks(new ItemStack(Blocks.PLANKS, 1, 3), null)
51+
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 3), null)
4852
.log(new ItemStack(Blocks.LOG, 1, 3))
4953
.build(),
5054
new WoodTypeEntry.Builder(mcModId, "acacia")
5155
.planks(new ItemStack(Blocks.PLANKS, 1, 4), null)
56+
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 4), null)
5257
.log(new ItemStack(Blocks.LOG2))
5358
.build(),
5459
new WoodTypeEntry.Builder(mcModId, "dark_oak")
5560
.planks(new ItemStack(Blocks.PLANKS, 1, 5), null)
61+
.slab(new ItemStack(Blocks.WOODEN_SLAB, 1, 5), null)
5662
.log(new ItemStack(Blocks.LOG2, 1, 1))
5763
.build(),
5864
new WoodTypeEntry.Builder(GTValues.MODID, "rubber")
5965
.planks(MetaBlocks.PLANKS.getItemVariant(BlockGregPlanks.BlockType.RUBBER_PLANK), null)
66+
.slab(new ItemStack(MetaBlocks.WOOD_SLAB), null)
6067
.log(new ItemStack(MetaBlocks.RUBBER_LOG))
6168
.build());
6269
}

0 commit comments

Comments
 (0)