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 IJukeboxSongdecode(NBT nbt, ClientVersion version, @Nullable TypesBuilderData data) static NBTencode(IJukeboxSong jukeboxSong, ClientVersion version) intnet.kyori.adventure.text.ComponentfloatgetSound()static IJukeboxSongread(PacketWrapper<?> wrapper) static voidwrite(PacketWrapper<?> wrapper, IJukeboxSong song) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copyMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCodeMethods 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
-