public class ParticleNode extends Object
A node used by ParticleRegistry to represent current
particle name in certain Spigot version using ParticleVersion 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.
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets particle name in this Spigot version.
|
ParticleVersion |
getVersion()
Gets Spigot version from this node.
|
boolean |
isRemoved()
Checks if particle does not exists in this Spigot version.
|
public ParticleVersion getVersion()
Gets Spigot version from this node.
ParticleVersion enum representing
Spigot version of this node.public String getName()
Gets particle name in this Spigot version.
public boolean isRemoved()
Checks if particle does not exists in this Spigot version.
Copyright © 2020. All Rights Reserved.