net.minecraft.world

public final class WeatherState

extends PersistentState

net.minecraft.world.level.saveddata.WeatherData
net.minecraft.class_1_216
net.minecraft.world.WeatherState

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WeatherState>
CODEC
field_1_1526
CODEC
public static final PersistentStateType<WeatherState>
TYPE
field_1_1527
TYPE
private int
clearWeatherTime
field_1_1528
clearWeatherTime
private int
rainTime
field_1_1529
rainTime
private int
thunderTime
field_1_1531
thunderTime
private boolean
raining
field_1_1530
raining
private boolean
thundering
field_1_1532
thundering

Constructor summary

ModifierConstructor
public ()
public (int clearWeatherTime, int rainTime, int thunderTime, boolean raining, boolean thundering)

Method summary

Modifier and TypeMethod
public int
getClearWeatherTime()
method_1_1823()
getClearWeatherTime()
public void
setClearWeatherTime(int clearWeatherTime)
method_1_1829(int arg0)
setClearWeatherTime(int clearWeatherTime)
public boolean
isThundering()
method_1_1827()
getThundering()
public void
setThundering(boolean thundering)
method_1_1833(boolean arg0)
setThundering(boolean thundering)
public int
getThunderTime()
method_1_1825()
getThunderTime()
public void
setThunderTime(int thunderTime)
method_1_1832(int arg0)
setThunderTime(int thunderTime)
public boolean
isRaining()
method_1_1826()
getRaining()
public void
setRaining(boolean raining)
method_1_1831(boolean arg0)
setRaining(boolean raining)
public int
getRainTime()
method_1_1824()
getRainTime()
public void
setRainTime(int rainTime)
method_1_1830(int arg0)
setRainTime(int rainTime)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_1828(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_1828(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)