Class ParticleItemStackData
java.lang.Object
com.github.retrooper.packetevents.protocol.particle.data.ParticleData
com.github.retrooper.packetevents.protocol.particle.data.ParticleItemStackData
- All Implemented Interfaces:
LegacyConvertible
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticleItemStackData
decode
(NBTCompound compound, ClientVersion version) static void
encode
(ParticleItemStackData data, ClientVersion version, NBTCompound compound) boolean
isEmpty()
static ParticleItemStackData
read
(PacketWrapper<?> wrapper) void
setItemStack
(ItemStack itemStack) toLegacy
(ClientVersion version) static void
write
(PacketWrapper<?> wrapper, ParticleItemStackData data) Methods inherited from class com.github.retrooper.packetevents.protocol.particle.data.ParticleData
emptyData
-
Constructor Details
-
ParticleItemStackData
-
-
Method Details
-
getItemStack
-
setItemStack
-
read
-
write
-
decode
-
encode
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classParticleData
-
toLegacy
- Specified by:
toLegacy
in interfaceLegacyConvertible
-