Package net.citizensnpcs.api.gui
Class InventoryMenuPattern
java.lang.Object
net.citizensnpcs.api.gui.InventoryMenuPattern
The concrete instance of a
MenuPattern. Defines a (possibly multiline) pattern with bound slots/transitions
depending on the pattern.-
Constructor Summary
ConstructorsConstructorDescriptionInventoryMenuPattern(MenuPattern info, List<InventoryMenuSlot> slots, List<InventoryMenuTransition> transitions) -
Method Summary
-
Constructor Details
-
InventoryMenuPattern
public InventoryMenuPattern(MenuPattern info, List<InventoryMenuSlot> slots, List<InventoryMenuTransition> transitions)
-
-
Method Details
-
getPattern
- Returns:
- The pattern string.
-
getSlots
- Returns:
- The set of
InventoryMenuSlots that this pattern refers to.
-
getTransitions
- Returns:
- The set of
InventoryMenuTransitions that this pattern refers to.
-