public class DerivedWorldInfo extends WorldInfo
Modifier and Type | Field and Description |
---|---|
private WorldInfo |
delegate |
DEFAULT_DIFFICULTY
Constructor and Description |
---|
DerivedWorldInfo(WorldInfo worldInfoIn) |
addToCrashReport, getAdditionalProperty, getBorderCenterX, getBorderCenterX, getBorderCenterZ, getBorderCenterZ, getBorderDamagePerBlock, getBorderLerpTarget, getBorderLerpTime, getBorderSafeZone, getBorderSize, getBorderWarningDistance, getBorderWarningTime, getCleanWeatherTime, getGeneratorOptions, getVersionId, getVersionName, isVersionSnapshot, populateFromWorldSettings, registerFixes, setAdditionalProperties, setBorderDamagePerBlock, setBorderLerpTarget, setBorderLerpTime, setBorderSafeZone, setBorderSize, setBorderWarningDistance, setBorderWarningTime, setCleanWeatherTime, setGameType, setHardcore, setMapFeaturesEnabled
private final WorldInfo delegate
public DerivedWorldInfo(WorldInfo worldInfoIn)
public NBTTagCompound cloneNBTCompound(@Nullable NBTTagCompound nbt)
cloneNBTCompound
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 java.lang.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 int getRainTime()
getRainTime
in class WorldInfo
public GameType getGameType()
getGameType
in class WorldInfo
public void setWorldTotalTime(long time)
setWorldTotalTime
in class WorldInfo
public void setWorldTime(long time)
setWorldTime
in class WorldInfo
public void setWorldName(java.lang.String worldName)
setWorldName
in class WorldInfo
public void setSaveVersion(int version)
setSaveVersion
in class WorldInfo
public void setThundering(boolean thunderingIn)
setThundering
in class WorldInfo
public void setThunderTime(int time)
setThunderTime
in class WorldInfo
public void setRaining(boolean isRaining)
setRaining
in class WorldInfo
public void setRainTime(int time)
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 type)
setTerrainType
in class WorldInfo
public boolean areCommandsAllowed()
areCommandsAllowed
in class WorldInfo
public void setAllowCommands(boolean allow)
setAllowCommands
in class WorldInfo
public boolean isInitialized()
isInitialized
in class WorldInfo
public void setServerInitialized(boolean initializedIn)
setServerInitialized
in class WorldInfo
public GameRules getGameRulesInstance()
getGameRulesInstance
in class WorldInfo
public EnumDifficulty getDifficulty()
getDifficulty
in class WorldInfo
public void setDifficulty(EnumDifficulty newDifficulty)
setDifficulty
in class WorldInfo
public boolean isDifficultyLocked()
isDifficultyLocked
in class WorldInfo
public void setDifficultyLocked(boolean locked)
setDifficultyLocked
in class WorldInfo
@Deprecated public void setDimensionData(DimensionType dimensionIn, NBTTagCompound compound)
setDimensionData
in class WorldInfo
@Deprecated public NBTTagCompound getDimensionData(DimensionType dimensionIn)
getDimensionData
in class WorldInfo
public void setDimensionData(int dimensionID, NBTTagCompound compound)
setDimensionData
in class WorldInfo
public NBTTagCompound getDimensionData(int dimensionID)
getDimensionData
in class WorldInfo