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