net.minecraft.advancements.critereon

public record ItemDamagePredicate

implements SingleComponentItemPredicate<Integer>

cn
net.minecraft.advancements.critereon.ItemDamagePredicate
net.minecraft.class_9355
net.minecraft.unmapped.C_ulumeygg
net.minecraft.predicate.item.DamagePredicate
net.minecraft.unmapped.C_ulumeygg
net.minecraft.src.C_313767_
net.minecraft.advancements.critereon.ItemDamagePredicate

Field summary

Modifier and TypeField
private final MinMaxBounds$Ints
c
durability
comp_2459
f_wptbeqpj
durability
durability
f_316616_
private final MinMaxBounds$Ints
d
damage
comp_2460
f_bkntevbe
damage
damage
f_314782_
public static final com.mojang.serialization.Codec<ItemDamagePredicate>
a
CODEC
field_49798
f_ixfgywvx
CODEC
CODEC
f_314810_

Constructor summary

ModifierConstructor
public (MinMaxBounds$Ints durability, MinMaxBounds$Ints damage)

Method summary

Modifier and TypeMethod
public DataComponentType<Integer>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
m_318698_()
public boolean
a(cxp arg0, Integer arg1)
matches(ItemStack arg0, Integer arg1)
method_58166(class_1799 arg0, Integer arg1)
m_zrgnfukn(C_sddaxwyk arg0, Integer arg1)
test(ItemStack arg0, Integer arg1)
m_ukkbbchk(ItemStack stack, Integer arg1)
m_318913_(C_1391_ p_329961_, Integer arg1)
public static ItemDamagePredicate
a(dj$d arg0)
durability(MinMaxBounds$Ints arg0)
method_58165(class_2096$class_2100 arg0)
m_qeeolhpk(C_nihhkamy$C_mujuochb arg0)
durability(NumberRange$IntRange durability)
m_qeeolhpk(NumberRange$IntRange durability)
m_320968_(C_1863_$C_1867_ p_335837_)
public MinMaxBounds$Ints
b()
durability()
comp_2459()
m_lkzrgmwm()
durability()
durability()
f_316616_()
public MinMaxBounds$Ints
c()
damage()
comp_2460()
m_rrcwgmlk()
damage()
damage()
f_314782_()