net.minecraft.world.level.storage.loot.predicates

public record WeatherCheck

implements LootItemCondition

ekf
net.minecraft.world.level.storage.loot.predicates.WeatherCheck
net.minecraft.class_227
net.minecraft.loot.condition.WeatherCheckLootCondition
net.minecraft.src.C_3024_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionWeatherCheck

Field summary

Modifier and TypeField
private final Optional<Boolean>
b
isRaining
comp_1889
raining
f_82056_
private final Optional<Boolean>
c
isThundering
comp_1890
thundering
f_82057_
public static final com.mojang.serialization.Codec<WeatherCheck>
a
CODEC
field_45878
CODEC
f_290830_

Constructor summary

ModifierConstructor
public (Optional<Boolean> f_82057_, Optional<Boolean> arg1)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public boolean
a(egw arg0)
test(LootContext arg0)
method_957(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static WeatherCheck$Builder
c()
weather()
method_35564()
create()
m_165552_()
public Optional<Boolean>
d()
isRaining()
comp_1889()
raining()
f_82056_()
public Optional<Boolean>
e()
isThundering()
comp_1890()
thundering()
f_82057_()