net.minecraft.core.component.predicates

public record DamagePredicate

implements DataComponentPredicate

kr
net.minecraft.core.component.predicates.DamagePredicate
net.minecraft.class_9355
net.minecraft.predicate.item.DamagePredicate

Field summary

Modifier and TypeField
private final MinMaxBounds$Ints
c
durability
comp_2459
durability
private final MinMaxBounds$Ints
d
damage
comp_2460
damage
public static final com.mojang.serialization.Codec<DamagePredicate>
a
CODEC
field_49798
CODEC

Constructor summary

ModifierConstructor
public (MinMaxBounds$Ints arg0, MinMaxBounds$Ints arg1)

Method summary

Modifier and TypeMethod
public boolean
a(ke arg0)
matches(DataComponentGetter arg0)
method_58161(class_9473 arg0)
test(ComponentsAccess arg0)
public static DamagePredicate
a(cv$d arg0)
durability(MinMaxBounds$Ints arg0)
method_58165(class_2096$class_2100 arg0)
durability(NumberRange$IntRange durability)
public MinMaxBounds$Ints
a()
durability()
comp_2459()
durability()
public MinMaxBounds$Ints
b()
damage()
comp_2460()
damage()