Examples of addGrassPlant()


Examples of extrabiomes.proxy.CommonProxy.addGrassPlant()

  protected void registerFlower(BiomeSettings settings, BlockType type) {
    if (!settings.getBiome().isPresent()) return;

        BiomeGenBase biome = settings.getBiome().get();
        final CommonProxy proxy = Extrabiomes.proxy;
        proxy.addGrassPlant(type.block(), type.metadata(), type.weight(), biome);

    final List<BlockType> list;
    if (flowerMaps.containsKey(settings)) {
      list = flowerMaps.get(settings);
    } else {
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addGrassPlant()

        for( BlockType type : BlockType.values() ) {
      if (type.group == this.group) {
        //LogHelper.info(this+": "+group+":"+type.metadata+" = "+type);
        groupMap.put(type.metadata, type);
        if (type.weight > 0) {
          proxy.addGrassPlant(this, type.metadata, type.weight);
        }
          }
        }
    //LogHelper.fine(this.toString() + ": initialized group " + group + ", " + groupMap.size() + " flowers");
    }
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.