-
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 pThundering)
Sets whether it is thundering or not.
-
getRainTime
int getRainTime()
-
setRainTime
void setRainTime(int pTime)
Sets the number of ticks until rain.
-
setThunderTime
void setThunderTime(int pTime)
Defines the number of ticks until next thunderbolt.
-
getThunderTime
int getThunderTime()
-
-
getClearWeatherTime
int getClearWeatherTime()
-
setClearWeatherTime
void setClearWeatherTime(int pTime)
-
getWanderingTraderSpawnDelay
int getWanderingTraderSpawnDelay()
-
setWanderingTraderSpawnDelay
void setWanderingTraderSpawnDelay(int pDelay)
-
getWanderingTraderSpawnChance
int getWanderingTraderSpawnChance()
-
setWanderingTraderSpawnChance
void setWanderingTraderSpawnChance(int pChance)
-
getWanderingTraderId
@Nullable
UUID getWanderingTraderId()
-
setWanderingTraderId
void setWanderingTraderId(UUID pId)
-
-
-
-
isInitialized
boolean isInitialized()
-
setInitialized
void setInitialized(boolean pInitialized)
Sets the initialization status of the World.
-
isAllowCommands
boolean isAllowCommands()
-
-
-
setGameTime
void setGameTime(long pTime)
-
setDayTime
void setDayTime(long pTime)
Set current world time
-
getDayTimeFraction
float getDayTimeFraction()
-
getDayTimePerTick
float getDayTimePerTick()
-
setDayTimeFraction
void setDayTimeFraction(float dayTimeFraction)
-
setDayTimePerTick
void setDayTimePerTick(float dayTimePerTick)