Class ParticleColorData
java.lang.Object
com.github.retrooper.packetevents.protocol.particle.data.ParticleData
com.github.retrooper.packetevents.protocol.particle.data.ParticleColorData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticleColorData
decode
(NBTCompound compound, ClientVersion version) static void
encode
(ParticleColorData data, ClientVersion version, NBTCompound compound) int
getColor()
boolean
isEmpty()
static ParticleColorData
read
(PacketWrapper<?> wrapper) void
setAlphaColor
(AlphaColor color) void
setColor
(int color) static void
write
(PacketWrapper<?> wrapper, ParticleColorData data) Methods inherited from class com.github.retrooper.packetevents.protocol.particle.data.ParticleData
emptyData
-
Constructor Details
-
ParticleColorData
public ParticleColorData(int color) -
ParticleColorData
-
-
Method Details
-
read
-
write
-
decode
-
encode
-
getColor
public int getColor() -
setColor
public void setColor(int color) -
setAlphaColor
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classParticleData
-