Package net.minecraft.world
Class WorldType
- java.lang.Object
-
- net.minecraft.world.WorldType
-
public class WorldType extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static WorldType
AMPLIFIED
+ amplified world typestatic WorldType
CUSTOMIZED
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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
func_151359_c()
boolean
getCanBeCreated()
+ Gets whether this WorldType can be used to generate a new world.int
getGeneratorVersion()
+ Returns generatorVersion.java.lang.String
getTranslateName()
+ Gets the translation key for the name of this world type.WorldType
getWorldTypeForGeneratorVersion(int version)
int
getWorldTypeID()
java.lang.String
getWorldTypeName()
boolean
isVersioned()
+ Returns true if this world Type has a version associated with it.static WorldType
parseWorldType(java.lang.String type)
boolean
showWorldInfoNotice()
+ returns true if selecting this worldtype from the customize menu should display the generator.[worldtype].info message
-
-
-
Field Detail
-
worldTypes
public static final WorldType[] worldTypes
+ List of world types.
-
DEFAULT
public static final WorldType DEFAULT
+ Default world type.
-
FLAT
public static final WorldType FLAT
+ Flat world type.
-
LARGE_BIOMES
public static final WorldType LARGE_BIOMES
+ Large Biome world Type.
-
AMPLIFIED
public static final WorldType AMPLIFIED
+ amplified world type
-
CUSTOMIZED
public static final WorldType CUSTOMIZED
-
DEFAULT_1_1
public static final WorldType DEFAULT_1_1
+ Default (1.1) world type.
-
-
Method Detail
-
getWorldTypeName
public java.lang.String getWorldTypeName()
-
getTranslateName
public java.lang.String getTranslateName()
+ Gets the translation key for the name of this world type.
-
func_151359_c
public java.lang.String func_151359_c()
-
getGeneratorVersion
public int getGeneratorVersion()
+ Returns generatorVersion.
-
getWorldTypeForGeneratorVersion
public WorldType getWorldTypeForGeneratorVersion(int version)
-
getCanBeCreated
public boolean getCanBeCreated()
+ Gets whether this WorldType can be used to generate a new world.
-
isVersioned
public boolean isVersioned()
+ Returns true if this world Type has a version associated with it.
-
parseWorldType
public static WorldType parseWorldType(java.lang.String type)
-
getWorldTypeID
public int getWorldTypeID()
-
showWorldInfoNotice
public boolean showWorldInfoNotice()
+ returns true if selecting this worldtype from the customize menu should display the generator.[worldtype].info message
-
-