Package xyz.srnyx.annoyingapi.options
Class RegistrationOptions.Selectors
java.lang.Object
xyz.srnyx.javautilities.parents.Stringable
xyz.srnyx.annoyingapi.options.RegistrationOptions.Selectors
- Enclosing class:
RegistrationOptions
public static class RegistrationOptions.Selectors
extends xyz.srnyx.javautilities.parents.Stringable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull RegistrationOptions.SelectorsdefaultSelectorPrefix(char defaultSelectorPrefix) @NotNull RegistrationOptions.Selectors@NotNull RegistrationOptions.Selectors@NotNull RegistrationOptions.SelectorsenableDefaultSelectors(boolean enableDefaultSelectors) static @NotNull RegistrationOptions.Selectorsload(@NotNull org.bukkit.configuration.ConfigurationSection section) @NotNull RegistrationOptions.SelectorstoRegister(@NotNull String key, @NotNull Selector<?> selector) @NotNull RegistrationOptions.SelectorstoRegister(@NotNull Map<String, Selector<?>> toRegister) Methods inherited from class xyz.srnyx.javautilities.parents.Stringable
toString, toString, toString, toString, toString
-
Field Details
-
enableDefaultSelectors
public boolean enableDefaultSelectors -
defaultSelectorPrefix
public char defaultSelectorPrefix -
toRegister
-
-
Constructor Details
-
Selectors
public Selectors()
-
-
Method Details
-
load
@NotNull public static @NotNull RegistrationOptions.Selectors load(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection section) -
enableDefaultSelectors
@NotNull public @NotNull RegistrationOptions.Selectors enableDefaultSelectors(boolean enableDefaultSelectors) -
enableDefaultSelectors
-
disableDefaultSelectors
-
defaultSelectorPrefix
@NotNull public @NotNull RegistrationOptions.Selectors defaultSelectorPrefix(char defaultSelectorPrefix) -
toRegister
@NotNull public @NotNull RegistrationOptions.Selectors toRegister(@NotNull @NotNull Map<String, Selector<?>> toRegister) -
toRegister
@NotNull public @NotNull RegistrationOptions.Selectors toRegister(@NotNull @NotNull String key, @NotNull @NotNull Selector<?> selector)
-