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

public record ValueCheckCondition

implements LootItemCondition

efy
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition
net.minecraft.class_5644
net.minecraft.loot.condition.ValueCheckLootCondition
net.minecraft.src.C_141479_
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition

Field summary

Modifier and TypeField
private final NumberProvider
b
provider
comp_1887
value
f_165520_
private final IntRange
c
range
comp_1888
range
f_165521_
public static final com.mojang.serialization.Codec<ValueCheckCondition>
a
CODEC
field_45877
CODEC
f_290498_

Constructor summary

ModifierConstructor
public (NumberProvider value, IntRange range)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(ecq arg0)
test(LootContext arg0)
method_32423(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(egk arg0, ecp arg1)
hasValue(NumberProvider arg0, IntRange arg1)
method_35562(class_5658 arg0, class_42 arg1)
builder(LootNumberProvider value, BoundedIntUnaryOperator range)
m_165528_(C_141501_ p_165529_, C_141456_ p_165530_)
public NumberProvider
c()
provider()
comp_1887()
value()
f_165520_()
public IntRange
d()
range()
comp_1888()
range()
f_165521_()