net.minecraft.loot.condition

public interface IntValueCheck

extends LootTableReportable

net.minecraft.world.level.storage.loot.IntRangePredicate
net.minecraft.world.level.storage.loot.IntRangePredicate
net.minecraft.class_1_1601
net.minecraft.loot.condition.IntValueCheck

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<IntValueCheck$Value>
POINT_CODEC
POINT_CODEC
field_1_10401
VALUE_CODEC
com.mojang.serialization.Codec<IntValueCheck$Range>
LINE_CODEC
LINE_CODEC
field_1_10400
RANGE_CODEC
com.mojang.serialization.Codec<IntValueCheck>
CODEC
CODEC
field_1_10399
CODEC

Method summary

Modifier and TypeMethod
static IntValueCheck
exact(int value)
exact(int value)
method_1_10291(int arg0)
of(int value)
static IntValueCheck
range(int min, int max)
range(int min, int max)
method_1_10297(int arg0, int arg1)
between(int min, int max)
static IntValueCheck
lowerBound(int value)
lowerBound(int value)
method_1_10296(int arg0)
atLeast(int min)
static IntValueCheck
upperBound(int value)
upperBound(int value)
method_1_10300(int arg0)
atMost(int max)
boolean
test(LootContext context, int input)
test(LootContext context, int input)
method_1_10298(class_47 arg0, int arg1)
test(LootContext context, int value)
default boolean
test(LootContext context, ContextIntProvider input)
test(LootContext context, ContextIntProvider input)
method_1_10299(class_47 arg0, class_1_1666 arg1)
test(LootContext context, LootIntProvider value)