Interface LoomView

All Superinterfaces:
InventoryView

public interface LoomView extends InventoryView
An instance of InventoryView which provides extra methods related to loom view data.
  • Method Details

    • getSelectablePatterns

      @NotNull @NotNull List<PatternType> getSelectablePatterns()
      Gets a list of all selectable to the player.
      Returns:
      A copy of the PatternType's currently selectable by the player
    • getSelectedPatternIndex

      int getSelectedPatternIndex()
      Gets an index of the selected pattern.
      Returns:
      Index of the selected pattern