net.minecraft.advancements.critereon

public record ItemDurabilityTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

co$a
net.minecraft.advancements.critereon.ItemDurabilityTrigger$TriggerInstance
net.minecraft.class_2069$class_2071
net.minecraft.advancement.criterion.ItemDurabilityChangedCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerItemDurabilityChanged$a

Field summary

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

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<cu> arg0, dj$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)
public static Criterion<ItemDurabilityTrigger$TriggerInstance>
a(Optional<bh> arg0, Optional<cu> arg1, dj$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)
public boolean
a(cxp arg0, int arg1)
matches(ItemStack arg0, int arg1)
method_8968(class_1799 arg0, int arg1)
matches(ItemStack stack, int durability)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
item()
comp_2062()
item()
public MinMaxBounds$Ints
c()
durability()
comp_2063()
durability()
public MinMaxBounds$Ints
d()
delta()
comp_2064()
delta()