public final class WorldSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WorldSettings.GameType |
Constructor and Description |
---|
WorldSettings(long seedIn,
WorldSettings.GameType gameType,
boolean enableMapFeatures,
boolean hardcoreMode,
WorldType worldTypeIn) |
WorldSettings(WorldInfo info) |
Modifier and Type | Method and Description |
---|---|
boolean |
areCommandsAllowed() |
WorldSettings |
enableBonusChest() |
WorldSettings |
enableCommands() |
WorldSettings.GameType |
getGameType() |
static WorldSettings.GameType |
getGameTypeById(int id) |
java.lang.String |
getGeneratorOptions() |
boolean |
getHardcoreEnabled() |
long |
getSeed() |
WorldType |
getTerrainType() |
boolean |
isBonusChestEnabled() |
boolean |
isMapFeaturesEnabled() |
WorldSettings |
setGeneratorOptions(java.lang.String options) |
public WorldSettings(long seedIn, WorldSettings.GameType gameType, boolean enableMapFeatures, boolean hardcoreMode, WorldType worldTypeIn)
public WorldSettings(WorldInfo info)
public WorldSettings enableBonusChest()
public WorldSettings setGeneratorOptions(java.lang.String options)
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 id)
public java.lang.String getGeneratorOptions()