@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.slabRedRock.get(); thisBlock.setUnlocalizedName("extrabiomes.redrockslab"); proxy.setBlockHarvestLevel(thisBlock, "pickaxe", 0); Extrabiomes.postInitEvent(new RedRockSlabActiveEvent(thisBlock)); }
@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.slabWood.get(); thisBlock.setUnlocalizedName("extrabiomes.woodslab"); proxy.setBlockHarvestLevel(thisBlock, "axe", 0); proxy.registerFuelHandler(new FuelHandlerWoodSlabs(thisBlock.blockID)); Extrabiomes.postInitEvent(new WoodSlabActiveEvent(thisBlock)); }
@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.wall.get(); thisBlock.setUnlocalizedName("extrabiomes.wall"); proxy.setBlockHarvestLevel(thisBlock, "pickaxe", 0); proxy.registerBlock(thisBlock, extrabiomes.utility.MultiItemBlock.class); Extrabiomes.postInitEvent(new WallActiveEvent(thisBlock)); }
@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.stairsRedCobble.get(); thisBlock.setUnlocalizedName("extrabiomes.stairs.redcobble"); proxy.setBlockHarvestLevel(thisBlock, "pickaxe", 0); proxy.registerBlock(thisBlock); Extrabiomes.postInitEvent(new RedCobbleStairsActiveEvent(thisBlock)); }
@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.stairsAcacia.get(); thisBlock.setUnlocalizedName("extrabiomes.stairs.acacia"); proxy.setBlockHarvestLevel(thisBlock, "axe", 0); proxy.registerBlock(thisBlock); proxy.registerOre("stairWood", thisBlock); Extrabiomes.postInitEvent(new AcaciaStairsActiveEvent(thisBlock)); }
@Override protected void prepare() { final CommonProxy proxy = Extrabiomes.proxy; final Block thisBlock = Stuff.planks.get(); thisBlock.setUnlocalizedName("extrabiomes.planks"); proxy.setBlockHarvestLevel(thisBlock, "axe", 0); proxy.registerBlock(thisBlock, extrabiomes.utility.MultiItemBlock.class); for (final BlockCustomWood.BlockType type : BlockCustomWood.BlockType.values()) FacadeHelper.addBuildcraftFacade(thisBlock.blockID, type.metadata()); proxy.registerOreInAllSubblocks("plankWood", thisBlock); Extrabiomes.postInitEvent(new PlankActiveEvent(thisBlock)); }