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