|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.world.WorldSettings
public final class WorldSettings
Constructor Summary | |
---|---|
WorldSettings(long par1,
EnumGameType par3EnumGameType,
boolean par4,
boolean par5,
WorldType par6WorldType)
|
|
WorldSettings(WorldInfo par1WorldInfo)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorldSettings(long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType)
public WorldSettings(WorldInfo par1WorldInfo)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |