public static class InventoryChangeTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private MinMaxBounds |
empty |
private MinMaxBounds |
full |
private ItemPredicate[] |
items |
private MinMaxBounds |
occupied |
Constructor and Description |
---|
Instance(MinMaxBounds occupied,
MinMaxBounds full,
MinMaxBounds empty,
ItemPredicate[] items) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(InventoryPlayer inventory) |
getId, toString
private final MinMaxBounds occupied
private final MinMaxBounds full
private final MinMaxBounds empty
private final ItemPredicate[] items
public Instance(MinMaxBounds occupied, MinMaxBounds full, MinMaxBounds empty, ItemPredicate[] items)
public boolean test(InventoryPlayer inventory)