Class ParticleNode
java.lang.Object
com.github.fierioziy.particlenativeapi.core.asm.utils.ParticleNode
A node used by ParticleRegistry to represent current
particle name in certain Spigot version using SpigotParticleVersion enum.
A ParticleNode has a structure similar to node in doubly linked list
that consist of reference to previous node and next node.
It is used to find particle name in target Spigot version using particle name in current Spigot version.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets particle name in this Spigot version.Gets Spigot version from this node.booleanisBound(ParticleNode node) booleanChecks if particle does not exists in this Spigot version.
-
Method Details
-
isBound
-
getVersion
Gets Spigot version from this node.
- Returns:
- a
SpigotParticleVersionenum representing Spigot version of this node.
-
getName
Gets particle name in this Spigot version.
- Returns:
- a particle name.
-
isRemoved
public boolean isRemoved()Checks if particle does not exists in this Spigot version.
- Returns:
- true if particle does not exists in this Spigot version, false otherwise.
-