public static class ItemDurabilityTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private MinMaxBounds |
delta |
private MinMaxBounds |
durability |
private ItemPredicate |
item |
Constructor and Description |
---|
Instance(ItemPredicate item,
MinMaxBounds durability,
MinMaxBounds delta) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(ItemStack item,
int p_193197_2_) |
getId, toString
private final ItemPredicate item
private final MinMaxBounds durability
private final MinMaxBounds delta
public Instance(ItemPredicate item, MinMaxBounds durability, MinMaxBounds delta)
public boolean test(ItemStack item, int p_193197_2_)