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

public record WeatherCheck

implements LootItemCondition

fai
net.minecraft.world.level.storage.loot.predicates.WeatherCheck
net.minecraft.class_227
net.minecraft.unmapped.C_dhxyhsvb
net.minecraft.loot.condition.WeatherCheckLootCondition
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
f_jahgemzk
raining
raining
f_82056_
private final Optional<Boolean>
c
isThundering
comp_1890
f_eiogtseh
thundering
thundering
f_82057_
public static final com.mojang.serialization.MapCodec<WeatherCheck>
a
CODEC
field_45878
f_ajiuecap
CODEC
CODEC
f_290830_

Constructor summary

ModifierConstructor
public (Optional<Boolean> raining, Optional<Boolean> thundering)

Method summary

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