Package net.citizensnpcs.api.gui
Annotation Type MenuPattern
@Retention(RUNTIME)
@Target({TYPE,FIELD,CONSTRUCTOR,METHOD})
@Repeatable(MenuPatterns.class)
public @interface MenuPattern
Defines a pattern of slots and/or transitions. Can be linked to a
InventoryMenuPattern
or simply at the class
level.-
Required Element Summary
-
Optional Element Summary
-
Element Details
-
offset
int[] offsetThe offset position to start the pattern at. -
slots
MenuSlot[] slots- Default:
{}
-
transitions
MenuTransition[] transitions- Default:
{}
-
value
String valueThe pattern string. 0 = AIR
-