Package org.spongepowered.api.state
Interface IntegerStateProperty
-
- All Superinterfaces:
DefaultedRegistryValue,Nameable,StateProperty<Integer>
@CatalogedBy(IntegerStateProperties.class) public interface IntegerStateProperty extends DefaultedRegistryValue, StateProperty<Integer>
Represents a type ofStatePropertythat acceptsIntegerbased values, usually with a predefined range. It is recommended to use thePredicate
-
-
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
-
-