Class ItemJukeboxPlayable
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemJukeboxPlayable
-
Constructor Summary
ConstructorsConstructorDescriptionItemJukeboxPlayable(@Nullable IJukeboxSong song, @Nullable ResourceLocation songKey, boolean showInTooltip) ItemJukeboxPlayable(@Nullable JukeboxSong song, @Nullable ResourceLocation songKey, boolean showInTooltip) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable IJukeboxSong@Nullable JukeboxSonggetSong()Deprecated.@Nullable ResourceLocationinthashCode()booleanstatic ItemJukeboxPlayableread(PacketWrapper<?> wrapper) voidsetJukeboxSong(@Nullable JukeboxSong song) voidsetShowInTooltip(boolean showInTooltip) voidsetSong(JukeboxSong song) Deprecated.voidsetSongKey(ResourceLocation songKey) static voidwrite(PacketWrapper<?> wrapper, ItemJukeboxPlayable jukeboxPlayable)
-
Constructor Details
-
ItemJukeboxPlayable
public ItemJukeboxPlayable(@Nullable @Nullable JukeboxSong song, @Nullable @Nullable ResourceLocation songKey, boolean showInTooltip) -
ItemJukeboxPlayable
public ItemJukeboxPlayable(@Nullable @Nullable IJukeboxSong song, @Nullable @Nullable ResourceLocation songKey, boolean showInTooltip)
-
-
Method Details
-
read
-
write
-
getJukeboxSong
-
setJukeboxSong
-
getSong
Deprecated. -
setSong
Deprecated. -
getSongKey
-
setSongKey
-
isShowInTooltip
public boolean isShowInTooltip() -
setShowInTooltip
public void setShowInTooltip(boolean showInTooltip) -
equals
-
hashCode
public int hashCode()
-