net.minecraft.predicate.item

public record DamagePredicate

implements ComponentPredicate

kt
net.minecraft.core.component.predicates.DamagePredicate
net.minecraft.class_9355
net.minecraft.predicate.item.DamagePredicate
net.minecraft.unmapped.C_vpvpqlko
net.minecraft.unmapped.C_vpvpqlko
net.minecraft.src.C_379334_

Field summary

Modifier and TypeField
private final NumberRange$IntRange
e
durability
comp_2459
durability
f_dhyqetoq
durability
f_380230_
private final NumberRange$IntRange
f
damage
comp_2460
damage
f_pukwkqth
damage
f_379871_
public static final com.mojang.serialization.Codec<DamagePredicate>
a
CODEC
field_49798
CODEC
f_nhoylett
CODEC
f_382607_

Constructor summary

ModifierConstructor
public (NumberRange$IntRange durability, NumberRange$IntRange damage)

Method summary

Modifier and TypeMethod
public boolean
a(kg arg0)
matches(DataComponentGetter arg0)
method_58161(class_9473 arg0)
test(ComponentsAccess arg0)
m_wdxkcege(C_hmcnusfu arg0)
test(ComponentAccess arg0)
m_321657_(C_379187_ arg0)
public static DamagePredicate
a(cx$d o)
durability(MinMaxBounds$Ints arg0)
method_58165(class_2096$class_2100 arg0)
durability(NumberRange$IntRange durability)
m_ksyqyxam(C_nihhkamy$C_mujuochb arg0)
m_ksyqyxam(NumberRange$IntRange durability)
m_385408_(C_1863_$C_1867_ p_392932_)
public NumberRange$IntRange
a()
durability()
comp_2459()
durability()
m_mqzfxvka()
durability()
f_380230_()
public NumberRange$IntRange
b()
damage()
comp_2460()
damage()
m_ljlsdozn()
damage()
f_379871_()