Class ParticleColorData
java.lang.Object
com.github.retrooper.packetevents.protocol.particle.data.ParticleData
com.github.retrooper.packetevents.protocol.particle.data.ParticleColorData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParticleColorDatadecode(NBTCompound compound, ClientVersion version) static voidencode(ParticleColorData data, ClientVersion version, NBTCompound compound) intgetColor()booleanisEmpty()static ParticleColorDataread(PacketWrapper<?> wrapper) voidsetAlphaColor(AlphaColor color) voidsetColor(int color) static voidwrite(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:
isEmptyin classParticleData
-