Class MultipartProperty.PreferedBooleanProperty
java.lang.Object
alexiil.mc.lib.multipart.api.property.MultipartProperty<Boolean>
alexiil.mc.lib.multipart.api.property.MultipartProperty.PreferedBooleanProperty
- Enclosing class:
- MultipartProperty<T>
public static class MultipartProperty.PreferedBooleanProperty extends MultipartProperty<Boolean>
A property where the value will combine up to whatever is opposite to the
MultipartProperty.defaultValue
-
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 PreferedBooleanProperty(String name, Boolean defaultValue)
-
Method Summary
Methods inherited from class alexiil.mc.lib.multipart.api.property.MultipartProperty
equals, hashCode, toString
-
Constructor Details
-
Method Details
-
combine
- Specified by:
combine
in classMultipartProperty<Boolean>
- Parameters:
values
- A non-empty list of property values.- Returns:
- The combined value.
-