YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.storage.DerivedWorldInfo Class Reference
Inheritance diagram for net.minecraft.world.storage.DerivedWorldInfo:
net.minecraft.world.storage.WorldInfo

Public Member Functions

 DerivedWorldInfo (WorldInfo par1WorldInfo)
 
NBTTagCompound getNBTTagCompound ()
 
NBTTagCompound cloneNBTCompound (NBTTagCompound par1NBTTagCompound)
 
long getSeed ()
 
int getSpawnX ()
 
int getSpawnY ()
 
int getSpawnZ ()
 
long getWorldTotalTime ()
 
long getWorldTime ()
 
long getSizeOnDisk ()
 
NBTTagCompound getPlayerNBTTagCompound ()
 
int getDimension ()
 
String getWorldName ()
 
int getSaveVersion ()
 
long getLastTimePlayed ()
 
boolean isThundering ()
 
int getThunderTime ()
 
boolean isRaining ()
 
int getRainTime ()
 
EnumGameType getGameType ()
 
void setSpawnX (int par1)
 
void setSpawnY (int par1)
 
void incrementTotalWorldTime (long par1)
 
void setSpawnZ (int par1)
 
void setWorldTime (long par1)
 
void setSpawnPosition (int par1, int par2, int par3)
 
void setWorldName (String par1Str)
 
void setSaveVersion (int par1)
 
void setThundering (boolean par1)
 
void setThunderTime (int par1)
 
void setRaining (boolean par1)
 
void setRainTime (int par1)
 
boolean isMapFeaturesEnabled ()
 
boolean isHardcoreModeEnabled ()
 
WorldType getTerrainType ()
 
void setTerrainType (WorldType par1WorldType)
 
boolean areCommandsAllowed ()
 
boolean isInitialized ()
 
void setServerInitialized (boolean par1)
 
GameRules getGameRulesInstance ()
 
- Public Member Functions inherited from net.minecraft.world.storage.WorldInfo
 WorldInfo (NBTTagCompound par1NBTTagCompound)
 
 WorldInfo (WorldSettings par1WorldSettings, String par2Str)
 
 WorldInfo (WorldInfo par1WorldInfo)
 
NBTTagCompound getNBTTagCompound ()
 
NBTTagCompound cloneNBTCompound (NBTTagCompound par1NBTTagCompound)
 
long getSeed ()
 
int getSpawnX ()
 
int getSpawnY ()
 
int getSpawnZ ()
 
long getWorldTotalTime ()
 
long getWorldTime ()
 
long getSizeOnDisk ()
 
NBTTagCompound getPlayerNBTTagCompound ()
 
int getDimension ()
 
void setSpawnX (int par1)
 
void setSpawnY (int par1)
 
void incrementTotalWorldTime (long par1)
 
void setSpawnZ (int par1)
 
void setWorldTime (long par1)
 
void setSpawnPosition (int par1, int par2, int par3)
 
String getWorldName ()
 
void setWorldName (String par1Str)
 
int getSaveVersion ()
 
void setSaveVersion (int par1)
 
long getLastTimePlayed ()
 
boolean isThundering ()
 
void setThundering (boolean par1)
 
int getThunderTime ()
 
void setThunderTime (int par1)
 
boolean isRaining ()
 
void setRaining (boolean par1)
 
int getRainTime ()
 
void setRainTime (int par1)
 
EnumGameType getGameType ()
 
boolean isMapFeaturesEnabled ()
 
void setGameType (EnumGameType par1EnumGameType)
 
boolean isHardcoreModeEnabled ()
 
WorldType getTerrainType ()
 
void setTerrainType (WorldType par1WorldType)
 
String getGeneratorOptions ()
 
boolean areCommandsAllowed ()
 
boolean isInitialized ()
 
void setServerInitialized (boolean par1)
 
GameRules getGameRulesInstance ()
 
void addToCrashReport (CrashReportCategory par1CrashReportCategory)
 
void setAdditionalProperties (Map< String, NBTBase > additionalProperties)
 
NBTBase getAdditionalProperty (String additionalProperty)
 

Additional Inherited Members

- Protected Member Functions inherited from net.minecraft.world.storage.WorldInfo
 WorldInfo ()
 

Constructor & Destructor Documentation

net.minecraft.world.storage.DerivedWorldInfo.DerivedWorldInfo ( WorldInfo  par1WorldInfo)

Member Function Documentation

boolean net.minecraft.world.storage.DerivedWorldInfo.areCommandsAllowed ( )

Returns true if commands are allowed on this World.

NBTTagCompound net.minecraft.world.storage.DerivedWorldInfo.cloneNBTCompound ( NBTTagCompound  par1NBTTagCompound)

Creates a new NBTTagCompound for the world, with the given NBTTag as the "Player"

int net.minecraft.world.storage.DerivedWorldInfo.getDimension ( )
GameRules net.minecraft.world.storage.DerivedWorldInfo.getGameRulesInstance ( )

Gets the GameRules class Instance.

EnumGameType net.minecraft.world.storage.DerivedWorldInfo.getGameType ( )

Gets the GameType.

long net.minecraft.world.storage.DerivedWorldInfo.getLastTimePlayed ( )

Return the last time the player was in this world.

NBTTagCompound net.minecraft.world.storage.DerivedWorldInfo.getNBTTagCompound ( )

Gets the NBTTagCompound for the worldInfo

NBTTagCompound net.minecraft.world.storage.DerivedWorldInfo.getPlayerNBTTagCompound ( )

Returns the player's NBTTagCompound to be loaded

int net.minecraft.world.storage.DerivedWorldInfo.getRainTime ( )

Return the number of ticks until rain.

int net.minecraft.world.storage.DerivedWorldInfo.getSaveVersion ( )

Returns the save version of this world

long net.minecraft.world.storage.DerivedWorldInfo.getSeed ( )

Returns the seed of current world.

long net.minecraft.world.storage.DerivedWorldInfo.getSizeOnDisk ( )
int net.minecraft.world.storage.DerivedWorldInfo.getSpawnX ( )

Returns the x spawn position

int net.minecraft.world.storage.DerivedWorldInfo.getSpawnY ( )

Return the Y axis spawning point of the player.

int net.minecraft.world.storage.DerivedWorldInfo.getSpawnZ ( )

Returns the z spawn position

WorldType net.minecraft.world.storage.DerivedWorldInfo.getTerrainType ( )
int net.minecraft.world.storage.DerivedWorldInfo.getThunderTime ( )

Returns the number of ticks until next thunderbolt.

String net.minecraft.world.storage.DerivedWorldInfo.getWorldName ( )

Get current world name

long net.minecraft.world.storage.DerivedWorldInfo.getWorldTime ( )

Get current world time

long net.minecraft.world.storage.DerivedWorldInfo.getWorldTotalTime ( )
void net.minecraft.world.storage.DerivedWorldInfo.incrementTotalWorldTime ( long  par1)
boolean net.minecraft.world.storage.DerivedWorldInfo.isHardcoreModeEnabled ( )

Returns true if hardcore mode is enabled, otherwise false

boolean net.minecraft.world.storage.DerivedWorldInfo.isInitialized ( )

Returns true if the World is initialized.

boolean net.minecraft.world.storage.DerivedWorldInfo.isMapFeaturesEnabled ( )

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

boolean net.minecraft.world.storage.DerivedWorldInfo.isRaining ( )

Returns true if it is raining, false otherwise.

boolean net.minecraft.world.storage.DerivedWorldInfo.isThundering ( )

Returns true if it is thundering, false otherwise.

void net.minecraft.world.storage.DerivedWorldInfo.setRaining ( boolean  par1)

Sets whether it is raining or not.

void net.minecraft.world.storage.DerivedWorldInfo.setRainTime ( int  par1)

Sets the number of ticks until rain.

void net.minecraft.world.storage.DerivedWorldInfo.setSaveVersion ( int  par1)

Sets the save version of the world

void net.minecraft.world.storage.DerivedWorldInfo.setServerInitialized ( boolean  par1)

Sets the initialization status of the World.

void net.minecraft.world.storage.DerivedWorldInfo.setSpawnPosition ( int  par1,
int  par2,
int  par3 
)

Sets the spawn zone position. Args: x, y, z

void net.minecraft.world.storage.DerivedWorldInfo.setSpawnX ( int  par1)

Set the x spawn position to the passed in value

void net.minecraft.world.storage.DerivedWorldInfo.setSpawnY ( int  par1)

Sets the y spawn position

void net.minecraft.world.storage.DerivedWorldInfo.setSpawnZ ( int  par1)

Set the z spawn position to the passed in value

void net.minecraft.world.storage.DerivedWorldInfo.setTerrainType ( WorldType  par1WorldType)
void net.minecraft.world.storage.DerivedWorldInfo.setThundering ( boolean  par1)

Sets whether it is thundering or not.

void net.minecraft.world.storage.DerivedWorldInfo.setThunderTime ( int  par1)

Defines the number of ticks until next thunderbolt.

void net.minecraft.world.storage.DerivedWorldInfo.setWorldName ( String  par1Str)
void net.minecraft.world.storage.DerivedWorldInfo.setWorldTime ( long  par1)

Set current world time


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