public class WorldType extends java.lang.Object implements IForgeWorldType
Modifier and Type | Field and Description |
---|---|
static WorldType |
AMPLIFIED |
static WorldType |
BUFFET |
private boolean |
canBeCreated |
static WorldType |
CUSTOMIZED |
static WorldType |
DEBUG_ALL_BLOCK_STATES |
static WorldType |
DEFAULT |
static WorldType |
DEFAULT_1_1 |
private boolean |
field_205395_p |
static WorldType |
FLAT |
private boolean |
hasInfoNotice |
private int |
id |
static WorldType |
LARGE_BIOMES |
private java.lang.String |
name |
private java.lang.String |
serializedId |
private int |
version |
private boolean |
versioned |
static WorldType[] |
WORLD_TYPES |
Modifier | Constructor and Description |
---|---|
private |
WorldType(int id,
java.lang.String name) |
private |
WorldType(int id,
java.lang.String name,
int version) |
private |
WorldType(int idIn,
java.lang.String nameIn,
java.lang.String serialization,
int versionIn) |
|
WorldType(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static WorldType |
byName(java.lang.String type) |
boolean |
canBeCreated() |
private WorldType |
enableInfoNotice() |
int |
getId() |
java.lang.String |
getInfoTranslationKey() |
java.lang.String |
getName() |
private static int |
getNextID() |
java.lang.String |
getSerialization() |
java.lang.String |
getTranslationKey() |
int |
getVersion() |
WorldType |
getWorldTypeForGeneratorVersion(int version) |
boolean |
hasCustomOptions() |
boolean |
hasInfoNotice() |
boolean |
isVersioned() |
private WorldType |
setCanBeCreated(boolean enable) |
WorldType |
setCustomOptions(boolean p_205392_1_) |
private WorldType |
setVersioned() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createChunkGenerator, getBiomeLayer, getCloudHeight, getHorizon, getWorldType, handleSlimeSpawnReduction, onCustomizeButton, onGUICreateWorldPress, voidFadeMagnitude
public static WorldType[] WORLD_TYPES
public static final WorldType DEFAULT
public static final WorldType FLAT
public static final WorldType LARGE_BIOMES
public static final WorldType AMPLIFIED
public static final WorldType CUSTOMIZED
public static final WorldType BUFFET
public static final WorldType DEBUG_ALL_BLOCK_STATES
public static final WorldType DEFAULT_1_1
private final int id
private final java.lang.String name
private final java.lang.String serializedId
private final int version
private boolean canBeCreated
private boolean versioned
private boolean hasInfoNotice
private boolean field_205395_p
public WorldType(java.lang.String name)
private WorldType(int id, java.lang.String name)
private WorldType(int id, java.lang.String name, int version)
private WorldType(int idIn, java.lang.String nameIn, java.lang.String serialization, int versionIn)
private static int getNextID()
public java.lang.String getName()
public java.lang.String getSerialization()
public java.lang.String getTranslationKey()
public java.lang.String getInfoTranslationKey()
public int getVersion()
public WorldType getWorldTypeForGeneratorVersion(int version)
public boolean hasCustomOptions()
public WorldType setCustomOptions(boolean p_205392_1_)
private WorldType setCanBeCreated(boolean enable)
public boolean canBeCreated()
private WorldType setVersioned()
public boolean isVersioned()
@Nullable public static WorldType byName(java.lang.String type)
public int getId()
public boolean hasInfoNotice()
private WorldType enableInfoNotice()