YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.WorldSettings Class Reference

Public Member Functions

 WorldSettings (long par1, EnumGameType par3EnumGameType, boolean par4, boolean par5, WorldType par6WorldType)
 
 WorldSettings (WorldInfo par1WorldInfo)
 
WorldSettings enableBonusChest ()
 
WorldSettings func_82750_a (String par1Str)
 
WorldSettings enableCommands ()
 
boolean isBonusChestEnabled ()
 
long getSeed ()
 
EnumGameType getGameType ()
 
boolean getHardcoreEnabled ()
 
boolean isMapFeaturesEnabled ()
 
WorldType getTerrainType ()
 
boolean areCommandsAllowed ()
 
String func_82749_j ()
 

Static Public Member Functions

static EnumGameType getGameTypeById (int par0)
 

Constructor & Destructor Documentation

net.minecraft.world.WorldSettings.WorldSettings ( long  par1,
EnumGameType  par3EnumGameType,
boolean  par4,
boolean  par5,
WorldType  par6WorldType 
)
net.minecraft.world.WorldSettings.WorldSettings ( WorldInfo  par1WorldInfo)

Member Function Documentation

boolean net.minecraft.world.WorldSettings.areCommandsAllowed ( )

Returns true if Commands (cheats) are allowed.

WorldSettings net.minecraft.world.WorldSettings.enableBonusChest ( )

Enables the bonus chest.

WorldSettings net.minecraft.world.WorldSettings.enableCommands ( )

Enables Commands (cheats).

String net.minecraft.world.WorldSettings.func_82749_j ( )
WorldSettings net.minecraft.world.WorldSettings.func_82750_a ( String  par1Str)
EnumGameType net.minecraft.world.WorldSettings.getGameType ( )

Gets the game type.

static EnumGameType net.minecraft.world.WorldSettings.getGameTypeById ( int  par0)
static

Gets the GameType by ID

boolean net.minecraft.world.WorldSettings.getHardcoreEnabled ( )

Returns true if hardcore mode is enabled, otherwise false

long net.minecraft.world.WorldSettings.getSeed ( )

Returns the seed for the world.

WorldType net.minecraft.world.WorldSettings.getTerrainType ( )
boolean net.minecraft.world.WorldSettings.isBonusChestEnabled ( )

Returns true if the Bonus Chest is enabled.

boolean net.minecraft.world.WorldSettings.isMapFeaturesEnabled ( )

Get whether the map features (e.g. strongholds) generation is enabled or disabled.


The documentation for this class was generated from the following file: