-
Method Summary
default void
int
float
float
int
int
int
int
boolean
boolean
void
void
void
void
void
void
void
Sets the initialization status of the World.
void
Sets the number of ticks until rain.
void
Sets whether it is thundering or not.
void
Defines the number of ticks until next thunderbolt.
void
void
void
void
Methods inherited from interface net.minecraft.world.level.storage.LevelData
getDayTime, getDifficulty, getGameRules, getGameTime, getSpawnAngle, getSpawnPos, isDifficultyLocked, isHardcore, isRaining, isThundering, setRaining
-
Method Details
-
-
setThundering
void setThundering(boolean thundering)
Sets whether it is thundering or not.
-
getRainTime
int getRainTime()
-
setRainTime
void setRainTime(int time)
Sets the number of ticks until rain.
-
setThunderTime
void setThunderTime(int time)
Defines the number of ticks until next thunderbolt.
-
getThunderTime
int getThunderTime()
-
-
getClearWeatherTime
int getClearWeatherTime()
-
setClearWeatherTime
void setClearWeatherTime(int time)
-
getWanderingTraderSpawnDelay
int getWanderingTraderSpawnDelay()
-
setWanderingTraderSpawnDelay
void setWanderingTraderSpawnDelay(int delay)
-
getWanderingTraderSpawnChance
int getWanderingTraderSpawnChance()
-
setWanderingTraderSpawnChance
void setWanderingTraderSpawnChance(int chance)
-
getWanderingTraderId
@Nullable
UUID getWanderingTraderId()
-
setWanderingTraderId
void setWanderingTraderId(UUID id)
-
-
-
-
isInitialized
boolean isInitialized()
-
setInitialized
void setInitialized(boolean initialized)
Sets the initialization status of the World.
-
isAllowCommands
boolean isAllowCommands()
-
-
-
setGameTime
void setGameTime(long time)
-
setDayTime
void setDayTime(long time)
Set current world time
-
getDayTimeFraction
float getDayTimeFraction()
-
getDayTimePerTick
float getDayTimePerTick()
-
setDayTimeFraction
void setDayTimeFraction(float dayTimeFraction)
-
setDayTimePerTick
void setDayTimePerTick(float dayTimePerTick)