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

public record ValueCheckCondition

implements LootItemCondition

fcz
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition
net.minecraft.class_5644
net.minecraft.unmapped.C_tfmwaqli
net.minecraft.loot.condition.ValueCheckLootCondition
net.minecraft.loot.condition.ValueCheckLootCondition

Field summary

Modifier and TypeField
private final NumberProvider
b
provider
comp_1887
f_jddigiav
value
value
private final IntRange
c
range
comp_1888
f_dxrhvbqf
range
range
public static final com.mojang.serialization.MapCodec<ValueCheckCondition>
a
CODEC
field_45877
f_qysoralb
CODEC
CODEC

Constructor summary

ModifierConstructor
public (NumberProvider value, IntRange range)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
public boolean
a(ezh arg0)
test(LootContext arg0)
method_32423(class_47 arg0)
m_rkxjybgd(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
public static LootItemCondition$Builder
a(fdm arg0, ezg arg1)
hasValue(NumberProvider arg0, IntRange arg1)
method_35562(class_5658 arg0, class_42 arg1)
m_izfbyrbi(C_iajmfyig arg0, C_rcavspxn arg1)
builder(LootNumberProvider value, BoundedIntUnaryOperator range)
builder(LootNumberProvider value, BoundedIntUnaryOperator range)
public NumberProvider
c()
provider()
comp_1887()
m_zwdzdter()
value()
provider()
public IntRange
d()
range()
comp_1888()
m_iwjdscca()
range()
range()