Package extrabiomes.blocks

Examples of extrabiomes.blocks.BlockCustomFlower


    for (int group = 0; group < enableds.length; ++group) {
      if (!enableds[group])
        continue;

      final BlockCustomFlower block = new BlockCustomFlower(group, Material.plants);
      block.setBlockName("extrabiomes.flower").setTickRandomly(true).setHardness(0.0F).setStepSound(Block.soundTypeGrass).setCreativeTab(Extrabiomes.tabsEBXL);
      proxy.registerBlock(block, extrabiomes.items.ItemFlower.class, "flower" + (group + 1));

      Collection<BlockType> types = block.getGroupTypes();
      for (BlockType type : types) {
        final Element element;
        try {
          element = Element.valueOf(type.name());
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of extrabiomes.blocks.BlockCustomFlower

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.