Package extrabiomes.blocks

Examples of extrabiomes.blocks.BlockKneeLog


    BlockMiniLog.setRenderId(Extrabiomes.proxy.registerBlockHandler(new RenderMiniLog()));
  }

  private static void createKneeLogs() {
    final BlockKneeLog block = new BlockKneeLog(BlockSettings.KNEELOG, "baldcypress");
    if (!ModuleControlSettings.SUMMA.isEnabled() || !BlockSettings.KNEELOG.getEnabled())
      return;

    block.setBlockName("extrabiomes.cypresskneelog");
    ((BlockKneeLog) block).setDroppedItemStack(Element.LOG_BALD_CYPRESS.get());

    final CommonProxy proxy = Extrabiomes.proxy;
    proxy.setBlockHarvestLevel(block, "axe", 0);
    // proxy.registerBlock(block, extrabiomes.utility.MultiItemBlock.class);
    proxy.registerBlock(block, ItemKneeLog.class, "log_elbow_baldcypress");
    proxy.registerOreInAllSubblocks("logWood", block);
    proxy.registerEventHandler(block);
    Blocks.fire.setFireInfo(block, 5, 5);

    final BlockKneeLog block2 = new BlockKneeLog(BlockSettings.RAINBOWKNEELOG, "rainboweucalyptus");
    if (!ModuleControlSettings.SUMMA.isEnabled() || !BlockSettings.RAINBOWKNEELOG.getEnabled())
      return;

    block2.setBlockName("extrabiomes.rainbowkneelog");
    ((BlockKneeLog) block2).setDroppedItemStack(Element.LOG_RAINBOW_EUCALYPTUS.get());

    proxy.setBlockHarvestLevel(block2, "axe", 0);
    proxy.registerBlock(block2, ItemKneeLog.class, "log_elbow_rainbow_eucalyptus");
    proxy.registerOreInAllSubblocks("logWood", block2);
View Full Code Here

TOP

Related Classes of extrabiomes.blocks.BlockKneeLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.