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

public record ValueCheckCondition

implements LootItemCondition

fah
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition
net.minecraft.class_5644
net.minecraft.loot.condition.ValueCheckLootCondition
net.minecraft.world.level.storage.loot.predicates.ValueCheckCondition

Field summary

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

Constructor summary

ModifierConstructor
public (NumberProvider value, IntRange range)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_32423(class_47 arg0)
test(LootContext arg0)
public static LootItemCondition$Builder
a(fau arg0, ewo arg1)
hasValue(NumberProvider arg0, IntRange arg1)
method_35562(class_5658 arg0, class_42 arg1)
builder(LootNumberProvider value, BoundedIntUnaryOperator range)
public NumberProvider
c()
provider()
comp_1887()
value()
public IntRange
d()
range()
comp_1888()
range()