public final class WorldSettings extends Object
Constructor and Description |
---|
WorldSettings(long par1,
EnumGameType par3EnumGameType,
boolean par4,
boolean par5,
WorldType par6WorldType) |
WorldSettings(WorldInfo par1WorldInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
areCommandsAllowed()
Returns true if Commands (cheats) are allowed.
|
WorldSettings |
enableBonusChest()
Enables the bonus chest.
|
WorldSettings |
enableCommands() |
String |
func_82749_j() |
WorldSettings |
func_82750_a(String par1Str) |
EnumGameType |
getGameType()
Gets the game type.
|
static EnumGameType |
getGameTypeById(int par0)
Gets the GameType by ID
|
boolean |
getHardcoreEnabled()
Returns true if hardcore mode is enabled, otherwise false
|
long |
getSeed()
Returns the seed for the world.
|
WorldType |
getTerrainType() |
boolean |
isBonusChestEnabled()
Returns true if the Bonus Chest is enabled.
|
boolean |
isMapFeaturesEnabled()
Get whether the map features (e.g.
|
public WorldSettings(long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType)
public WorldSettings(WorldInfo par1WorldInfo)
public WorldSettings enableBonusChest()
public WorldSettings func_82750_a(String par1Str)
public WorldSettings enableCommands()
public boolean isBonusChestEnabled()
public long getSeed()
public EnumGameType getGameType()
public boolean getHardcoreEnabled()
public boolean isMapFeaturesEnabled()
public WorldType getTerrainType()
public boolean areCommandsAllowed()
public static EnumGameType getGameTypeById(int par0)
public String func_82749_j()