Annotation Type MenuTransition


Defines a menu transition to a new sub-menu. Can be linked to a InventoryMenuTransition or simply at the class level.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The next sub-menu class to transition to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Whitelist the allowed clicktypes for transition (empty = all allowed).
    char
    For use with patterns.
    int[]
    The position of the slot within the inventory.
  • Element Details

    • filter

      ClickType[] filter
      Whitelist the allowed clicktypes for transition (empty = all allowed).
      Default:
      {}
    • pat

      char pat
      For use with patterns.
      Default:
      '0'
    • pos

      int[] pos
      The position of the slot within the inventory.
      Default:
      {0, 0}