public class DerivedWorldInfo extends WorldInfo
| Modifier and Type | Field and Description |
|---|---|
private WorldInfo |
delegate |
DEFAULT_DIFFICULTY| Constructor and Description |
|---|
DerivedWorldInfo(WorldInfo worldInfoIn) |
byHashing, func_230145_a_, getBorderCenterX, getBorderCenterZ, getBorderDamagePerBlock, getBorderSafeZone, getBorderSize, getBorderSizeLerpTarget, getBorderSizeLerpTime, getBorderWarningBlocks, getBorderWarningTime, getClearWeatherTime, getCustomBossEvents, getDisabledDataPacks, getEnabledDataPacks, getGeneratorOptions, getVersionId, getVersionName, getWanderingTraderSpawnChance, getWanderingTraderSpawnDelay, isVersionSnapshot, populateFromWorldSettings, setBorderCenterX, setBorderCenterZ, setBorderDamagePerBlock, setBorderSafeZone, setBorderSize, setBorderSizeLerpTarget, setBorderSizeLerpTime, setBorderWarningBlocks, setBorderWarningTime, setClearWeatherTime, setCustomBossEvents, setGameType, setGeneratorOptions, setHardcore, setMapFeaturesEnabled, setWanderingTraderId, setWanderingTraderSpawnChance, setWanderingTraderSpawnDelayprivate final WorldInfo delegate
public DerivedWorldInfo(WorldInfo worldInfoIn)
public CompoundNBT cloneNBTCompound(@Nullable CompoundNBT nbt)
cloneNBTCompound in class WorldInfopublic long getGameTime()
getGameTime in class WorldInfopublic long getDayTime()
getDayTime in class WorldInfopublic CompoundNBT getPlayerNBTTagCompound()
getPlayerNBTTagCompound in class WorldInfopublic java.lang.String getWorldName()
getWorldName in class WorldInfopublic int getSaveVersion()
getSaveVersion in class WorldInfopublic long getLastTimePlayed()
getLastTimePlayed in class WorldInfopublic boolean isThundering()
isThundering in class WorldInfopublic int getThunderTime()
getThunderTime in class WorldInfopublic int getRainTime()
getRainTime in class WorldInfopublic GameType getGameType()
getGameType in class WorldInfopublic void setGameTime(long time)
setGameTime in class WorldInfopublic void setDayTime(long time)
setDayTime in class WorldInfopublic void setWorldName(java.lang.String worldName)
setWorldName in class WorldInfopublic void setSaveVersion(int version)
setSaveVersion in class WorldInfopublic void setThundering(boolean thunderingIn)
setThundering in class WorldInfopublic void setThunderTime(int time)
setThunderTime in class WorldInfopublic void setRaining(boolean isRaining)
setRaining in class WorldInfopublic void setRainTime(int time)
setRainTime in class WorldInfopublic boolean isMapFeaturesEnabled()
isMapFeaturesEnabled in class WorldInfopublic boolean isHardcore()
isHardcore in class WorldInfopublic WorldType getGenerator()
getGenerator in class WorldInfopublic void setGenerator(WorldType type)
setGenerator in class WorldInfopublic boolean areCommandsAllowed()
areCommandsAllowed in class WorldInfopublic void setAllowCommands(boolean allow)
setAllowCommands in class WorldInfopublic boolean isInitialized()
isInitialized in class WorldInfopublic void setInitialized(boolean initializedIn)
setInitialized in class WorldInfopublic GameRules getGameRulesInstance()
getGameRulesInstance in class WorldInfopublic Difficulty getDifficulty()
getDifficulty in class WorldInfopublic void setDifficulty(Difficulty newDifficulty)
setDifficulty in class WorldInfopublic boolean isDifficultyLocked()
isDifficultyLocked in class WorldInfopublic void setDifficultyLocked(boolean locked)
setDifficultyLocked in class WorldInfopublic TimerCallbackManager<MinecraftServer> getScheduledEvents()
getScheduledEvents in class WorldInfopublic void setDimensionData(DimensionType dimensionIn, CompoundNBT compound)
setDimensionData in class WorldInfopublic CompoundNBT getDimensionData(DimensionType dimensionIn)
getDimensionData in class WorldInfopublic void addToCrashReport(CrashReportCategory category)
addToCrashReport in class WorldInfo