net.minecraft.advancements.critereon

public class ItemDurabilityTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

ca$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<ItemPredicate>
a
item
field_9637
item
f_43686_
private final MinMaxBounds$Ints
b
durability
field_9638
durability
f_43687_
private final MinMaxBounds$Ints
c
delta
field_9639
delta
f_43688_

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<cb> arg0, cl$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<bc> arg0, Optional<cb> arg1, cl$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(cjf 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 com.google.gson.JsonObject
a()
serializeToJson()
method_807()
toJson()
m_7683_()