net.minecraft.advancements.critereon

public record ItemDurabilityTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bz$a
net.minecraft.advancements.critereon.ItemDurabilityTrigger$TriggerInstance
net.minecraft.class_2069$class_2071
net.minecraft.advancement.criterion.ItemDurabilityChangedCriterion$Conditions
net.minecraft.src.C_1448_$C_1449_
net.minecraft.advancements.critereon.CriterionTriggerItemDurabilityChanged$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302356_
private final Optional<ItemPredicate>
c
item
comp_2062
item
f_43686_
private final MinMaxBounds$Ints
d
durability
comp_2063
durability
f_43687_
private final MinMaxBounds$Ints
e
delta
comp_2064
delta
f_43688_
public static final com.mojang.serialization.Codec<ItemDurabilityTrigger$TriggerInstance>
a
CODEC
field_47266
CODEC
f_303090_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> item, MinMaxBounds$Ints durability, MinMaxBounds$Ints delta)

Method summary

Modifier and TypeMethod
public static Criterion<ItemDurabilityTrigger$TriggerInstance>
a(Optional<ca> arg0, ck$d arg1)
changedDurability(Optional<ItemPredicate> arg0, MinMaxBounds$Ints arg1)
method_35229(Optional<class_2073> arg0, class_2096$class_2100 arg1)
create(Optional<ItemPredicate> item, NumberRange$IntRange durability)
m_151286_(Optional<C_1529_> p_300870_, C_1863_$C_1867_ p_151288_)
public static Criterion<ItemDurabilityTrigger$TriggerInstance>
a(Optional<bb> arg0, Optional<ca> arg1, ck$d arg2)
changedDurability(Optional<ContextAwarePredicate> arg0, Optional<ItemPredicate> arg1, MinMaxBounds$Ints arg2)
method_8967(Optional<class_5258> arg0, Optional<class_2073> arg1, class_2096$class_2100 arg2)
create(Optional<LootContextPredicate> playerPredicate, Optional<ItemPredicate> item, NumberRange$IntRange durability)
m_285799_(Optional<C_285556_> p_299530_, Optional<C_1529_> p_300893_, C_1863_$C_1867_ p_286730_)
public boolean
a(cmy arg0, int arg1)
matches(ItemStack arg0, int arg1)
method_8968(class_1799 arg0, int arg1)
matches(ItemStack stack, int durability)
m_43698_(C_1391_ p_43700_, int arg1)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
item()
comp_2062()
item()
f_43686_()
public MinMaxBounds$Ints
c()
durability()
comp_2063()
durability()
f_43687_()
public MinMaxBounds$Ints
d()
delta()
comp_2064()
delta()
f_43688_()