Selector

Registers the annotated class as an OptiGUI INI selector for the key specified in value. The annotated class must implement opekope2.optigui.api.selector.ISelector, and must be a registered entrypoint in fabric.mod.json in order to be recognized. The name of the entrypoint is optigui-selector for selectors, and optigui-load-selector for load time selectors.

Functions

Link copied to clipboard
abstract fun value(): String
The name of the selector (the key to look for inside the INI file).

Inherited functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String