ILoadTimeSelector
Interface defining a load time OptiGUI INI selector. A load time selector runs when loading the resource, in contrast to when replacing a texture. It is a filter, which decides whether the filter should be loaded or not. A load time selector accepts the selector value in evaluate, and returns a result indicating whether the resource should be loaded. The result passed to match is ignored, it may be anything (Java doesn't have a unit type). To register a load time selector, see opekope2.optigui.annotation.Selector documentation. The name of the entrypoint is optigui-load-selector
.