public interface AddonConfig
| Modifier and Type | Method and Description |
|---|---|
@NotNull su.plo.config.entry.IntConfigEntry |
addDropDown(@NotNull java.lang.String translatable,
@Nullable java.lang.String tooltipTranslatable,
@NotNull java.util.List<java.lang.String> elements,
boolean elementTooltip,
int defaultValue) |
@NotNull su.plo.config.entry.IntConfigEntry |
addIntSlider(@NotNull java.lang.String translatable,
@Nullable java.lang.String tooltipTranslatable,
@NotNull java.lang.String suffix,
int defaultValue,
int min,
int max) |
@NotNull su.plo.config.entry.BooleanConfigEntry |
addToggle(@NotNull java.lang.String translatable,
@Nullable java.lang.String tooltipTranslatable,
boolean defaultValue) |
@NotNull su.plo.config.entry.DoubleConfigEntry |
addVolumeSlider(@NotNull java.lang.String translatable,
@Nullable java.lang.String tooltipTranslatable,
@NotNull java.lang.String suffix,
double defaultValue,
double min,
double max) |
void |
clear() |
<T extends su.plo.config.entry.ConfigEntry<?>> |
getValue(@NotNull java.lang.String translatable) |
boolean |
removeWidget(@NotNull java.lang.String translatable) |
@NotNull
@NotNull su.plo.config.entry.IntConfigEntry addIntSlider(@NotNull
@NotNull java.lang.String translatable,
@Nullable
@Nullable java.lang.String tooltipTranslatable,
@NotNull
@NotNull java.lang.String suffix,
int defaultValue,
int min,
int max)
@NotNull
@NotNull su.plo.config.entry.DoubleConfigEntry addVolumeSlider(@NotNull
@NotNull java.lang.String translatable,
@Nullable
@Nullable java.lang.String tooltipTranslatable,
@NotNull
@NotNull java.lang.String suffix,
double defaultValue,
double min,
double max)
@NotNull
@NotNull su.plo.config.entry.BooleanConfigEntry addToggle(@NotNull
@NotNull java.lang.String translatable,
@Nullable
@Nullable java.lang.String tooltipTranslatable,
boolean defaultValue)
@NotNull
@NotNull su.plo.config.entry.IntConfigEntry addDropDown(@NotNull
@NotNull java.lang.String translatable,
@Nullable
@Nullable java.lang.String tooltipTranslatable,
@NotNull
@NotNull java.util.List<java.lang.String> elements,
boolean elementTooltip,
int defaultValue)
boolean removeWidget(@NotNull
@NotNull java.lang.String translatable)
<T extends su.plo.config.entry.ConfigEntry<?>> java.util.Optional<T> getValue(@NotNull
@NotNull java.lang.String translatable)
void clear()