Package dev.kosmx.playerAnim.core.data
Enum Class AnimationFormat
- All Implemented Interfaces:
Serializable,Comparable<AnimationFormat>,Constable
Deprecated.
Where is the emote from
use dev.kosmx.playerAnim.minecraftApi.codec, AnimationCodecs class for deserializing instead.
This package may be removed in the future
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimationFormatbyExtension(String extension) Deprecated, for removal: This API element is subject to removal in a future version.static AnimationFormatbyFileName(String fileName) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.static AnimationFormatDeprecated.Returns the enum constant of this class with the specified name.static AnimationFormat[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JSON_EMOTECRAFT
Deprecated. -
JSON_MC_ANIM
Deprecated. -
QUARK
Deprecated. -
BINARY
Deprecated. -
SERVER
Deprecated. -
UNKNOWN
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
byFileName
Deprecated, for removal: This API element is subject to removal in a future version. -
byExtension
Deprecated, for removal: This API element is subject to removal in a future version.use AnimationCodecs.deserialize() instead -
getExtension
Deprecated, for removal: This API element is subject to removal in a future version.
-