public enum WorldGenerator extends java.lang.Enum<WorldGenerator> implements net.minecraftforge.fml.common.IWorldGenerator
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(java.util.Random random,
int chunkX,
int chunkZ,
net.minecraft.world.World world,
net.minecraft.world.gen.IChunkGenerator chunkGenerator,
net.minecraft.world.chunk.IChunkProvider chunkProvider) |
static void |
generateOre(net.minecraft.world.World world,
int chunkX,
int chunkZ,
int minHeight,
int veinsPerChunk,
int veinSize,
net.minecraft.block.state.IBlockState state,
java.util.Random random,
com.google.common.base.Predicate<net.minecraft.block.state.IBlockState> predicate) |
static void |
generateOverworld(net.minecraft.world.World world,
java.util.Random random,
int chunkX,
int chunkZ) |
static WorldGenerator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorldGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldGenerator INSTANCE
public static WorldGenerator[] values()
for (WorldGenerator c : WorldGenerator.values()) System.out.println(c);
public static WorldGenerator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void generate(java.util.Random random,
int chunkX,
int chunkZ,
net.minecraft.world.World world,
net.minecraft.world.gen.IChunkGenerator chunkGenerator,
net.minecraft.world.chunk.IChunkProvider chunkProvider)
generate in interface net.minecraftforge.fml.common.IWorldGeneratorpublic static void generateOverworld(net.minecraft.world.World world,
java.util.Random random,
int chunkX,
int chunkZ)
public static void generateOre(net.minecraft.world.World world,
int chunkX,
int chunkZ,
int minHeight,
int veinsPerChunk,
int veinSize,
net.minecraft.block.state.IBlockState state,
java.util.Random random,
com.google.common.base.Predicate<net.minecraft.block.state.IBlockState> predicate)