public BlockStairPlanks(Block block, EnumWood wood) { super(block, wood.ordinal()); setHardness(2.0F); this.wood = wood; setLightOpacity(0); setCreativeTab(ModTabs.blocks); setStepSound(Block.soundTypeWood); setBlockName(Reference.MOD_ID + ".stairPlanks" + wood.name()); }
@Override public String getLocalizedName() { return String.format( StatCollector.translateToLocal("tile." + Reference.MOD_ID + ".stairPlanks.name"), wood.getTranslatedName()); }