Interface Sound
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticSound
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sound
decode
(NBT nbt, ClientVersion version) static NBT
encode
(Sound sound, ClientVersion version) @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
-
encode
-