Modifier and Type | Field and Description |
---|---|
static BiomeGenBase[] |
base11Biomes |
static BiomeGenBase[] |
base12Biomes |
static WorldType |
DEFAULT
Default world type.
|
static WorldType |
DEFAULT_1_1
Default (1.1) world type.
|
static WorldType |
FLAT
Flat world type.
|
static WorldType |
LARGE_BIOMES
Large Biome world Type.
|
static WorldType[] |
worldTypes
List of world types.
|
Constructor and Description |
---|
WorldType(int par1,
String par2Str) |
WorldType(int par1,
String par2Str,
int par3) |
Modifier and Type | Method and Description |
---|---|
void |
addNewBiome(BiomeGenBase biome) |
BiomeGenBase[] |
getBiomesForWorldType() |
boolean |
getCanBeCreated() |
IChunkProvider |
getChunkGenerator(World world,
String generatorOptions) |
WorldChunkManager |
getChunkManager(World world) |
int |
getGeneratorVersion()
Returns generatorVersion.
|
double |
getHorizon(World world) |
int |
getMinimumSpawnHeight(World world) |
int |
getSpawnFuzz()
Gets the spawn fuzz for players who join the world.
|
String |
getTranslateName() |
WorldType |
getWorldTypeForGeneratorVersion(int par1) |
int |
getWorldTypeID() |
String |
getWorldTypeName() |
boolean |
handleSlimeSpawnReduction(Random random,
World world) |
boolean |
hasVoidParticles(boolean var1) |
boolean |
isVersioned()
Returns true if this world Type has a version associated with it.
|
void |
onGUICreateWorldPress()
Called when 'Create New World' button is pressed before starting game
|
static WorldType |
parseWorldType(String par0Str) |
void |
removeBiome(BiomeGenBase biome) |
double |
voidFadeMagnitude() |
public static final BiomeGenBase[] base11Biomes
public static final BiomeGenBase[] base12Biomes
public static final WorldType[] worldTypes
public static final WorldType LARGE_BIOMES
public static final WorldType DEFAULT_1_1
public String getWorldTypeName()
public String getTranslateName()
public int getGeneratorVersion()
public WorldType getWorldTypeForGeneratorVersion(int par1)
public boolean getCanBeCreated()
public boolean isVersioned()
public static WorldType parseWorldType(String par0Str)
public int getWorldTypeID()
public WorldChunkManager getChunkManager(World world)
public IChunkProvider getChunkGenerator(World world, String generatorOptions)
public int getMinimumSpawnHeight(World world)
public double getHorizon(World world)
public boolean hasVoidParticles(boolean var1)
public double voidFadeMagnitude()
public BiomeGenBase[] getBiomesForWorldType()
public void addNewBiome(BiomeGenBase biome)
public void removeBiome(BiomeGenBase biome)
public boolean handleSlimeSpawnReduction(Random random, World world)
public void onGUICreateWorldPress()
public int getSpawnFuzz()