Package org.spongepowered.api.state
Interface EnumStateProperty<E extends Enum<E>>
-
- All Superinterfaces:
DefaultedRegistryValue
,Nameable
,StateProperty<E>
@CatalogedBy(EnumStateProperties.class) public interface EnumStateProperty<E extends Enum<E>> extends DefaultedRegistryValue, StateProperty<E>
Represents a type ofStateProperty
that accepts an unknownEnum
set of values. Due to type erasure and implementation, most all enum types may not be exposed in the API.
-
-
Method Summary
-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Methods inherited from interface org.spongepowered.api.state.StateProperty
parseValue, possibleValues, predicate, valueClass
-
-