java.lang.Object
zombie.entity.components.attributes.AttributeType
zombie.entity.components.attributes.AttributeType.EnumStringSet<E>
- Enclosing class:
AttributeType
-
Nested Class Summary
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
EnumStringSet
(short short0, String string, Class<E> _class) protected
EnumStringSet
(short short0, String string0, Class<E> _class, boolean boolean0, Attribute.UI.Display display, String string1) -
Method Summary
Modifier and TypeMethodDescriptionenumValueFromByteID
(byte byte0) enumValueFromString
(String string) Methods inherited from class zombie.entity.components.attributes.AttributeType
getDisplayAsBar, getName, getNameUI, getTranslateKey, id, isDecimal, isHiddenUI, isNumeric, isReadOnly, toString
-
Constructor Details
-
EnumStringSet
-
EnumStringSet
protected EnumStringSet(short short0, String string0, Class<E> _class, boolean boolean0, Attribute.UI.Display display, String string1)
-
-
Method Details
-
getValueType
- Specified by:
getValueType
in classAttributeType
-
getInitialValue
-
enumValueFromString
-
enumValueFromByteID
-
getEnumClass
-