Class AttributeType.Long
java.lang.Object
zombie.entity.components.attributes.AttributeType
zombie.entity.components.attributes.AttributeType.Numeric<AttributeType.Long,Long>
zombie.entity.components.attributes.AttributeType.Long
- Enclosing class:
AttributeType
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.entity.components.attributes.AttributeType.Numeric
AttributeType.Numeric.NumericVars<T>
Nested classes/interfaces inherited from class zombie.entity.components.attributes.AttributeType
AttributeType.Bool, AttributeType.Byte, AttributeType.Double, AttributeType.Enum<E extends Enum<E> & IOEnum>, AttributeType.EnumSet<E extends Enum<E> & IOEnum>, AttributeType.EnumStringSet<E extends Enum<E> & IOEnum>, AttributeType.Float, AttributeType.Int, AttributeType.Long, AttributeType.Numeric<C extends AttributeType.Numeric<C,
T>, T extends Number>, AttributeType.Short, AttributeType.String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
Long
(short short0, String string0, long long1, boolean boolean0, Attribute.UI.Display display, Attribute.UI.DisplayAsBar displayAsBar, String string1) -
Method Summary
Methods inherited from class zombie.entity.components.attributes.AttributeType.Numeric
getInitialValue, getVars, hasBounds, isRequiresValidation, setBounds
Methods inherited from class zombie.entity.components.attributes.AttributeType
getDisplayAsBar, getName, getNameUI, getTranslateKey, id, isDecimal, isHiddenUI, isNumeric, isReadOnly, toString
-
Constructor Details
-
Long
-
Long
protected Long(short short0, String string0, long long1, boolean boolean0, Attribute.UI.Display display, Attribute.UI.DisplayAsBar displayAsBar, String string1)
-
-
Method Details
-
getValueType
- Overrides:
getValueType
in classAttributeType.Numeric<AttributeType.Long,
Long>
-
validate
- Specified by:
validate
in classAttributeType.Numeric<AttributeType.Long,
Long>
-
getMin
- Specified by:
getMin
in classAttributeType.Numeric<AttributeType.Long,
Long>
-
getMax
- Specified by:
getMax
in classAttributeType.Numeric<AttributeType.Long,
Long>
-
withinBounds
- Specified by:
withinBounds
in classAttributeType.Numeric<AttributeType.Long,
Long>
-