From 3befd832b3fdbac0ba89c5fab124ff08ce378a1d Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 26 May 2013 17:22:52 +1000 Subject: [PATCH] Added Pine, Hell Bark and Jacaranda slabs --- src/minecraft/biomesoplenty/blocks/BlockBOPSlab.java | 4 ++-- src/minecraft/biomesoplenty/configuration/BOPBlocks.java | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/minecraft/biomesoplenty/blocks/BlockBOPSlab.java b/src/minecraft/biomesoplenty/blocks/BlockBOPSlab.java index cca907bd0..835bb00e3 100644 --- a/src/minecraft/biomesoplenty/blocks/BlockBOPSlab.java +++ b/src/minecraft/biomesoplenty/blocks/BlockBOPSlab.java @@ -25,7 +25,7 @@ public class BlockBOPSlab extends BlockHalfSlab { WOOD1, WOOD2, STONE; } - private static final String[] woodTypes = new String[] {"acacia", "cherry", "dark", "fir", "holy", "magic", "mangrove", "palm", "redwood", "willow"}; + private static final String[] woodTypes = new String[] {"acacia", "cherry", "dark", "fir", "holy", "magic", "mangrove", "palm", "redwood", "willow", "pine", "hell_bark", "jacaranda"}; private static final String[] rockTypes = new String[] {"redcobble", "redbrick", "mudbrick", "holycobble", "holybrick"}; private Icon[] textures; protected final boolean isDoubleSlab; @@ -89,7 +89,7 @@ public class BlockBOPSlab extends BlockHalfSlab if (category == SlabCategory.WOOD1) max = 8; else if (category == SlabCategory.WOOD2) - max = 2; + max = 5; else if (category == SlabCategory.STONE) max = 5; diff --git a/src/minecraft/biomesoplenty/configuration/BOPBlocks.java b/src/minecraft/biomesoplenty/configuration/BOPBlocks.java index 922d400bb..728b7f0f0 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPBlocks.java +++ b/src/minecraft/biomesoplenty/configuration/BOPBlocks.java @@ -446,6 +446,9 @@ public class BOPBlocks { LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab1.get(),1,7), "Palm Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab2.get(),1,0), "Redwood Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab2.get(),1,1), "Willow Wood Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab2.get(),1,2), "Pine Wood Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab2.get(),1,3), "Hell Bark Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenDoubleSlab2.get(),1,4), "Jacaranda Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab1.get(),1,0), "Acacia Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab1.get(),1,1), "Cherry Wood Slab"); @@ -457,6 +460,9 @@ public class BOPBlocks { LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab1.get(),1,7), "Palm Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab2.get(),1,0), "Redwood Wood Slab"); LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab2.get(),1,1), "Willow Wood Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab2.get(),1,2), "Pine Wood Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab2.get(),1,3), "Hell Bark Slab"); + LanguageRegistry.addName(new ItemStack(Blocks.woodenSingleSlab2.get(),1,4), "Jacaranda Wood Slab"); LanguageRegistry.addName(Blocks.acaciaStairs.get(), "Acacia Wood Stairs"); LanguageRegistry.addName(Blocks.cherryStairs.get(), "Cherry Wood Stairs");