public final class WorldSettings
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WorldSettings.GameType |
| Constructor and Description |
|---|
WorldSettings(long p_i1957_1_,
WorldSettings.GameType p_i1957_3_,
boolean p_i1957_4_,
boolean p_i1957_5_,
WorldType p_i1957_6_) |
WorldSettings(WorldInfo p_i1958_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCommandsAllowed()
Returns true if Commands (cheats) are allowed.
|
WorldSettings |
enableBonusChest()
Enables the bonus chest.
|
WorldSettings |
enableCommands()
Enables Commands (cheats).
|
java.lang.String |
func_82749_j() |
WorldSettings |
func_82750_a(java.lang.String p_82750_1_) |
WorldSettings.GameType |
getGameType()
Gets the game type.
|
static WorldSettings.GameType |
getGameTypeById(int p_77161_0_)
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. strongholds) generation is enabled or disabled.
|
public WorldSettings(long p_i1957_1_,
WorldSettings.GameType p_i1957_3_,
boolean p_i1957_4_,
boolean p_i1957_5_,
WorldType p_i1957_6_)
public WorldSettings(WorldInfo p_i1958_1_)
public WorldSettings enableBonusChest()
public WorldSettings func_82750_a(java.lang.String p_82750_1_)
public WorldSettings enableCommands()
public boolean isBonusChestEnabled()
public long getSeed()
public WorldSettings.GameType getGameType()
public boolean getHardcoreEnabled()
public boolean isMapFeaturesEnabled()
public WorldType getTerrainType()
public boolean areCommandsAllowed()
public static WorldSettings.GameType getGameTypeById(int p_77161_0_)
public java.lang.String func_82749_j()