Class MultipartProperty.IntegerBoundProperty
java.lang.Object
alexiil.mc.lib.multipart.api.property.MultipartProperty<java.lang.Integer>
alexiil.mc.lib.multipart.api.property.MultipartProperty.IntegerBoundProperty
- Direct Known Subclasses:
MultipartProperties.RedstonePowerProperty
- Enclosing class:
- MultipartProperty<T>
public static class MultipartProperty.IntegerBoundProperty extends MultipartProperty<java.lang.Integer>
-
Nested Class Summary
Nested classes/interfaces inherited from class alexiil.mc.lib.multipart.api.property.MultipartProperty
MultipartProperty.IntegerBoundProperty, MultipartProperty.PreferedBooleanProperty
-
Field Summary
Fields inherited from class alexiil.mc.lib.multipart.api.property.MultipartProperty
clazz, defaultValue, name
-
Constructor Summary
Constructors Constructor Description IntegerBoundProperty(java.lang.String name, int min, int max, int defaultValue)
-
Method Summary
Modifier and Type Method Description java.lang.Integer
combine(java.util.List<java.lang.Integer> values)
Methods inherited from class alexiil.mc.lib.multipart.api.property.MultipartProperty
equals, hashCode, toString
-
Field Details
-
Constructor Details
-
IntegerBoundProperty
public IntegerBoundProperty(java.lang.String name, int min, int max, int defaultValue)
-
-
Method Details
-
combine
public java.lang.Integer combine(java.util.List<java.lang.Integer> values)- Specified by:
combine
in classMultipartProperty<java.lang.Integer>
- Parameters:
values
- A non-empty list of property values.- Returns:
- The combined value.
-