Package org.spongepowered.api.state
Interface IntegerStateProperty
-
- All Superinterfaces:
DefaultedRegistryValue
,Nameable
,StateProperty<java.lang.Integer>
@CatalogedBy(IntegerStateProperties.class) public interface IntegerStateProperty extends DefaultedRegistryValue, StateProperty<java.lang.Integer>
Represents a type ofStateProperty
that acceptsInteger
based 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
-
-