|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.world.storage.WorldInfo
net.minecraft.world.storage.DerivedWorldInfo
public class DerivedWorldInfo
Constructor Summary | |
---|---|
DerivedWorldInfo(WorldInfo par1WorldInfo)
|
Method Summary | |
---|---|
boolean |
areCommandsAllowed()
Returns true if commands are allowed on this World. |
NBTTagCompound |
cloneNBTCompound(NBTTagCompound par1NBTTagCompound)
Creates a new NBTTagCompound for the world, with the given NBTTag as the "Player" |
int |
getDimension()
|
GameRules |
getGameRulesInstance()
Gets the GameRules class Instance. |
EnumGameType |
getGameType()
Gets the GameType. |
long |
getLastTimePlayed()
|
NBTTagCompound |
getNBTTagCompound()
Gets the NBTTagCompound for the worldInfo |
NBTTagCompound |
getPlayerNBTTagCompound()
Returns the player's NBTTagCompound to be loaded |
int |
getRainTime()
Return the number of ticks until rain. |
int |
getSaveVersion()
Returns the save version of this world |
long |
getSeed()
Returns the seed of current world. |
long |
getSizeOnDisk()
|
int |
getSpawnX()
Returns the x spawn position |
int |
getSpawnY()
Return the Y axis spawning point of the player. |
int |
getSpawnZ()
Returns the z spawn position |
WorldType |
getTerrainType()
|
int |
getThunderTime()
Returns the number of ticks until next thunderbolt. |
String |
getWorldName()
Get current world name |
long |
getWorldTime()
Get current world time |
long |
getWorldTotalTime()
|
void |
incrementTotalWorldTime(long par1)
|
boolean |
isHardcoreModeEnabled()
Returns true if hardcore mode is enabled, otherwise false |
boolean |
isInitialized()
Returns true if the World is initialized. |
boolean |
isMapFeaturesEnabled()
Get whether the map features (e.g. |
boolean |
isRaining()
Returns true if it is raining, false otherwise. |
boolean |
isThundering()
Returns true if it is thundering, false otherwise. |
void |
setRaining(boolean par1)
Sets whether it is raining or not. |
void |
setRainTime(int par1)
Sets the number of ticks until rain. |
void |
setSaveVersion(int par1)
Sets the save version of the world |
void |
setServerInitialized(boolean par1)
Sets the initialization status of the World. |
void |
setSpawnPosition(int par1,
int par2,
int par3)
Sets the spawn zone position. |
void |
setSpawnX(int par1)
|
void |
setSpawnY(int par1)
|
void |
setSpawnZ(int par1)
|
void |
setTerrainType(WorldType par1WorldType)
|
void |
setThundering(boolean par1)
Sets whether it is thundering or not. |
void |
setThunderTime(int par1)
Defines the number of ticks until next thunderbolt. |
void |
setWorldName(String par1Str)
|
void |
setWorldTime(long par1)
Set current world time |
Methods inherited from class net.minecraft.world.storage.WorldInfo |
---|
func_85118_a, getAdditionalProperty, getGeneratorOptions, setAdditionalProperties, setGameType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DerivedWorldInfo(WorldInfo par1WorldInfo)
Method Detail |
---|
public NBTTagCompound getNBTTagCompound()
getNBTTagCompound
in class WorldInfo
public NBTTagCompound cloneNBTCompound(NBTTagCompound par1NBTTagCompound)
cloneNBTCompound
in class WorldInfo
public long getSeed()
getSeed
in class WorldInfo
public int getSpawnX()
getSpawnX
in class WorldInfo
public int getSpawnY()
getSpawnY
in class WorldInfo
public int getSpawnZ()
getSpawnZ
in class WorldInfo
public long getWorldTotalTime()
getWorldTotalTime
in class WorldInfo
public long getWorldTime()
getWorldTime
in class WorldInfo
public long getSizeOnDisk()
getSizeOnDisk
in class WorldInfo
public NBTTagCompound getPlayerNBTTagCompound()
getPlayerNBTTagCompound
in class WorldInfo
public int getDimension()
getDimension
in class WorldInfo
public String getWorldName()
getWorldName
in class WorldInfo
public int getSaveVersion()
getSaveVersion
in class WorldInfo
public long getLastTimePlayed()
getLastTimePlayed
in class WorldInfo
public boolean isThundering()
isThundering
in class WorldInfo
public int getThunderTime()
getThunderTime
in class WorldInfo
public boolean isRaining()
isRaining
in class WorldInfo
public int getRainTime()
getRainTime
in class WorldInfo
public EnumGameType getGameType()
getGameType
in class WorldInfo
public void setSpawnX(int par1)
setSpawnX
in class WorldInfo
public void setSpawnY(int par1)
setSpawnY
in class WorldInfo
public void incrementTotalWorldTime(long par1)
incrementTotalWorldTime
in class WorldInfo
public void setSpawnZ(int par1)
setSpawnZ
in class WorldInfo
public void setWorldTime(long par1)
setWorldTime
in class WorldInfo
public void setSpawnPosition(int par1, int par2, int par3)
setSpawnPosition
in class WorldInfo
public void setWorldName(String par1Str)
setWorldName
in class WorldInfo
public void setSaveVersion(int par1)
setSaveVersion
in class WorldInfo
public void setThundering(boolean par1)
setThundering
in class WorldInfo
public void setThunderTime(int par1)
setThunderTime
in class WorldInfo
public void setRaining(boolean par1)
setRaining
in class WorldInfo
public void setRainTime(int par1)
setRainTime
in class WorldInfo
public boolean isMapFeaturesEnabled()
isMapFeaturesEnabled
in class WorldInfo
public boolean isHardcoreModeEnabled()
isHardcoreModeEnabled
in class WorldInfo
public WorldType getTerrainType()
getTerrainType
in class WorldInfo
public void setTerrainType(WorldType par1WorldType)
setTerrainType
in class WorldInfo
public boolean areCommandsAllowed()
areCommandsAllowed
in class WorldInfo
public boolean isInitialized()
isInitialized
in class WorldInfo
public void setServerInitialized(boolean par1)
setServerInitialized
in class WorldInfo
public GameRules getGameRulesInstance()
getGameRulesInstance
in class WorldInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |