Class ComboProperty
java.lang.Object
com.soulfiremc.server.settings.property.ComboProperty
- All Implemented Interfaces:
Property
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapitalizeEnum
(T enumValue) protected void
check()
abstract String
abstract String
boolean
disabled()
abstract String
key()
abstract List
<ComboProperty.ComboOption> options()
static <T extends Enum<T>>
ComboProperty.ComboOption[]optionsFromEnum
(T[] values, Function<T, String> displayNameMapper, Function<T, @Nullable String> iconMapper) abstract String
uiName()