Package net.citizensnpcs.api.gui
Annotation Type MenuTransition
@Retention(RUNTIME)
@Target({TYPE,FIELD,CONSTRUCTOR,METHOD})
@Repeatable(MenuTransitions.class)
public @interface MenuTransition
Defines a menu transition to a new sub-menu. Can be linked to a 
InventoryMenuTransition or simply at the
 class level.- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionClass<? extends InventoryMenuPage> The next sub-menu class to transition to.
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
filterClickType[] filterWhitelist the allowed clicktypes for transition (empty = all allowed).- Default:
- {}
 
- 
patchar patFor use with patterns.- Default:
- '0'
 
- 
posint[] posThe position of the slot within the inventory.- Default:
- {0, 0}
 
- 
valueClass<? extends InventoryMenuPage> valueThe next sub-menu class to transition to.
 
-