Enum SpigotParticleVersion
java.lang.Object
java.lang.Enum<SpigotParticleVersion>
com.github.fierioziy.particlenativeapi.core.asm.utils.SpigotParticleVersion
- All Implemented Interfaces:
Serializable,Comparable<SpigotParticleVersion>
An enum used by ParticleNode class to store
particle version.
It is used to represent a change in particle names (for ex. in field, enum or string) between Minecraft updates.
It also provides interface class associated with certain particle version for easier generation.
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SpigotParticleVersionReturns the enum constant of this type with the specified name.static SpigotParticleVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V1_7
-
V1_8
-
V1_13
-
V1_18
-
V1_20_5
-
-
Field Details
-
INITIAL_VERSION
-
VERSION_COUNT
public static final int VERSION_COUNT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-