Annotation Type MenuPattern


Defines a pattern of slots and/or transitions. Can be linked to a InventoryMenuPattern or simply at the class level.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int[]
    The offset position to start the pattern at.
    The pattern string.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Element Details

    • offset

      int[] offset
      The offset position to start the pattern at.
    • slots

      MenuSlot[] slots
      Default:
      {}
    • transitions

      MenuTransition[] transitions
      Default:
      {}
    • value

      String value
      The pattern string. 0 = AIR