Interface IJukeboxSong
- All Superinterfaces:
CopyableEntity<IJukeboxSong>
,DeepComparableEntity
,MappedEntity
- All Known Implementing Classes:
JukeboxSong
public interface IJukeboxSong
extends MappedEntity, CopyableEntity<IJukeboxSong>, DeepComparableEntity
-
Method Summary
Modifier and TypeMethodDescriptionstatic IJukeboxSong
decode
(NBT nbt, ClientVersion version, @Nullable TypesBuilderData data) static NBT
encode
(IJukeboxSong jukeboxSong, ClientVersion version) int
net.kyori.adventure.text.Component
float
getSound()
static IJukeboxSong
read
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, IJukeboxSong song) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copy
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCode
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
getSound
Sound getSound() -
getDescription
net.kyori.adventure.text.Component getDescription() -
getLengthInSeconds
float getLengthInSeconds() -
getComparatorOutput
int getComparatorOutput() -
decode
static IJukeboxSong decode(NBT nbt, ClientVersion version, @Nullable @Nullable TypesBuilderData data) -
encode
-
read
-
write
-