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
ConstructorDescriptionInventoryMenuPattern
(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
InventoryMenuSlot
s that this pattern refers to.
-
getTransitions
- Returns:
- The set of
InventoryMenuTransition
s that this pattern refers to.
-