Class ParticleTrailData
java.lang.Object
com.github.retrooper.packetevents.protocol.particle.data.ParticleData
com.github.retrooper.packetevents.protocol.particle.data.ParticleTrailData
-
Constructor Summary
ConstructorDescriptionParticleTrailData
(Vector3d target, Color color) ParticleTrailData
(Vector3d target, Color color, int duration) -
Method Summary
Modifier and TypeMethodDescriptionstatic ParticleTrailData
decode
(NBTCompound compound, ClientVersion version) static void
encode
(ParticleTrailData data, ClientVersion version, NBTCompound compound) getColor()
int
Added with 1.21.4boolean
isEmpty()
static ParticleTrailData
read
(PacketWrapper<?> wrapper) void
void
setDuration
(int duration) Added with 1.21.4void
static void
write
(PacketWrapper<?> wrapper, ParticleTrailData data) Methods inherited from class com.github.retrooper.packetevents.protocol.particle.data.ParticleData
emptyData
-
Constructor Details
-
ParticleTrailData
-
ParticleTrailData
-
-
Method Details
-
read
-
write
-
decode
-
encode
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classParticleData
-
getTarget
-
setTarget
-
getColor
-
setColor
-
getDuration
public int getDuration()Added with 1.21.4 -
setDuration
public void setDuration(int duration) Added with 1.21.4
-