Interface Sound
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticSound
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sound
decode
(NBT nbt, ClientVersion version) Deprecated.static Sound
decode
(NBT nbt, PacketWrapper<?> wrapper) static NBT
encode
(Sound sound, ClientVersion version) Deprecated.static NBT
encode
(PacketWrapper<?> wrapper, Sound sound) @Nullable Float
getRange()
static Sound
read
(PacketWrapper<?> wrapper) static Sound
readDirect
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, Sound sound) static void
writeDirect
(PacketWrapper<?> wrapper, Sound sound) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getSoundId
ResourceLocation getSoundId() -
getRange
-
read
-
readDirect
-
write
-
writeDirect
-
decode
Deprecated. -
decode
-
encode
Deprecated. -
encode
-