Ejemplo n.º 1
0
    @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));
    }
Ejemplo n.º 2
0
    @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));
    }
Ejemplo n.º 3
0
    @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));
    }
Ejemplo n.º 4
0
    @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));
    }
Ejemplo n.º 5
0
    @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));
    }
Ejemplo n.º 6
0
    @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));
    }