Examples of VineGenerator


Examples of extrabiomes.module.summa.worldgen.VineGenerator

      final ItemStack item = new ItemStack(block, 1);
      element.set(item);

      ForestryModHelper.addToForesterBackpack(new ItemStack(block, 1, Short.MAX_VALUE));

      final VineGenerator generator;
      // gloriosa gets a biome list override
      if (blockType == BlockCustomVine.BlockType.GLORIOSA) {
        final BiomeSettings[] biomeList = { BiomeSettings.EXTREMEJUNGLE, BiomeSettings.MINIJUNGLE, BiomeSettings.RAINFOREST };
        generator = new VineGenerator(block, biomeList);
      } else {
        generator = new VineGenerator(block);
      }
      proxy.registerWorldGenerator(generator);
    }
  }
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.