Examples of registerOreInAllSubblocks()


Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

    block4.setBlockName("extrabiomes.firquarter").setStepSound(Block.soundTypeWood).setHardness(2.0F).setResistance(Blocks.log.getExplosionResistance(null) * 5.0F).setCreativeTab(Extrabiomes.tabsEBXL);
    ((BlockNewQuarterLog) block4).setDroppedItemStack(Element.LOG_FIR.get());

    proxy.setBlockHarvestLevel(block4, "axe", 0);
    proxy.registerBlock(block4, ItemNewQuarterLog.class, "cornerlog_fir");
    proxy.registerOreInAllSubblocks("logWood", block4);
    proxy.registerEventHandler(block4);
    Blocks.fire.setFireInfo(block4, 5, 5);

    final BlockNewQuarterLog block5 = new BlockNewQuarterLog(BlockSettings.REDWOODQUARTERLOG, "redwood");
    if (!ModuleControlSettings.SUMMA.isEnabled() || !BlockSettings.REDWOODQUARTERLOG.getEnabled())
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

    ((BlockNewQuarterLog) block5).setDroppedItemStack(Element.LOG_REDWOOD.get());
    // block5.setRenderId(renderId);

    proxy.setBlockHarvestLevel(block5, "axe", 0);
    proxy.registerBlock(block5, ItemNewQuarterLog.class, "cornerlog_redwood");
    proxy.registerOreInAllSubblocks("logWood", block5);
    proxy.registerEventHandler(block5);
    Blocks.fire.setFireInfo(block5, 5, 5);

    Element.LOG_QUARTER_BALD_CYPRESS.set(new ItemStack(block, 1, Short.MAX_VALUE));
    Element.LOG_QUARTER_RAINBOW_EUCALYPTUS.set(new ItemStack(block2, 1, Short.MAX_VALUE));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

      block.setBlockName("extrabiomes.log.quarter").setStepSound(Block.soundTypeWood).setHardness(2.0F).setResistance(Blocks.log.getExplosionResistance(null) * 5.0F);

      final CommonProxy proxy = Extrabiomes.proxy;
      proxy.setBlockHarvestLevel(block, "axe", 0);
      proxy.registerBlock(block, ItemOldQuarterLog.class, "log_old_quarter");
      proxy.registerOreInAllSubblocks("logWood", block);
      proxy.registerEventHandler(block);
      Blocks.fire.setFireInfo(block, 5, 5);
    }

    Element.LOG_HUGE_FIR_NW.set(new ItemStack(blockNW, 1, BlockQuarterLog.BlockType.FIR.metadata()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

    final BlockCustomSapling block = new BlockCustomSapling(16);
    block.setBlockName("extrabiomes.sapling").setHardness(0.0F).setStepSound(Block.soundTypeGrass).setCreativeTab(Extrabiomes.tabsEBXL);

    final CommonProxy proxy = Extrabiomes.proxy;
    proxy.registerBlock(block, extrabiomes.items.ItemSapling.class, "saplings_1");
    proxy.registerOreInAllSubblocks("treeSapling", block);

    Element.SAPLING_ACACIA.set(new ItemStack(block, 1, BlockCustomSapling.BlockType.ACACIA.metadata()));
    Element.SAPLING_AUTUMN_BROWN.set(new ItemStack(block, 1, BlockCustomSapling.BlockType.UMBER.metadata()));
    Element.SAPLING_AUTUMN_ORANGE.set(new ItemStack(block, 1, BlockCustomSapling.BlockType.GOLDENROD.metadata()));
    Element.SAPLING_AUTUMN_PURPLE.set(new ItemStack(block, 1, BlockCustomSapling.BlockType.VERMILLION.metadata()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

    final BlockNewSapling block = new BlockNewSapling();
    block.setBlockName("extrabiomes.sapling").setHardness(0.0F).setStepSound(Block.soundTypeGrass).setCreativeTab(Extrabiomes.tabsEBXL);

    final CommonProxy proxy = Extrabiomes.proxy;
    proxy.registerBlock(block, extrabiomes.items.ItemNewSapling.class, "saplings_2");
    proxy.registerOreInAllSubblocks("treeSapling", block);

    Element.SAPLING_BALD_CYPRESS.set(new ItemStack(block, 1, BlockNewSapling.BlockType.BALD_CYPRESS.metadata()));
    Element.SAPLING_JAPANESE_MAPLE.set(new ItemStack(block, 1, BlockNewSapling.BlockType.JAPANESE_MAPLE.metadata()));
    Element.SAPLING_JAPANESE_MAPLE_SHRUB.set(new ItemStack(block, 1, BlockNewSapling.BlockType.JAPANESE_MAPLE_SHRUB.metadata()));
    Element.SAPLING_RAINBOW_EUCALYPTUS.set(new ItemStack(block, 1, BlockNewSapling.BlockType.RAINBOW_EUCALYPTUS.metadata()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

        .setCreativeTab(Extrabiomes.tabsEBXL);

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

    Element.LOG_ACACIA.set(new ItemStack(block, 1, BlockCustomLog.BlockType.ACACIA.metadata()));
    Element.LOG_FIR.set(new ItemStack(block, 1, BlockCustomLog.BlockType.FIR.metadata()));
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.registerOreInAllSubblocks()

    final BlockNewLog block2 = new BlockNewLog(BlockSettings.NEWLOG);
    block2.setBlockName("extrabiomes.newlog").setStepSound(Block.soundTypeWood).setHardness(2.0F).setResistance(Blocks.log.getExplosionResistance(null) * 5.0F).setCreativeTab(Extrabiomes.tabsEBXL);

    proxy.setBlockHarvestLevel(block2, "axe", 0);
    proxy.registerBlock(block2, extrabiomes.utility.MultiItemBlock.class, "log2");
    proxy.registerOreInAllSubblocks("logWood", block2);
    proxy.registerEventHandler(block2);
    Blocks.fire.setFireInfo(block2, 5, 5);

    Element.LOG_RAINBOW_EUCALYPTUS.set(new ItemStack(block2, 1, BlockNewLog.BlockType.RAINBOW_EUCALYPTUS.metadata()));
    Element.LOG_AUTUMN.set(new ItemStack(block2, 1, BlockNewLog.BlockType.AUTUMN.metadata()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.