History - net.minecraft.world.item.JukeboxSong

1.21.3

Names

cuv

cxv

Fields

Holder<SoundEvent>: e, soundEvent, comp_2835, soundEvent, f_337080_

Holder<SoundEvent>: e, soundEvent, comp_2835, soundEvent

Component: f, description, comp_2836, description, f_337519_

Component: f, description, comp_2836, description

float: g, lengthInSeconds, comp_2837, lengthInSeconds, f_337271_

float: g, lengthInSeconds, comp_2837, lengthInSeconds

int: h, comparatorOutput, comp_2838, comparatorOutput, f_337038_

int: h, comparatorOutput, comp_2838, comparatorOutput

com.mojang.serialization.Codec<JukeboxSong>: a, DIRECT_CODEC, field_52027, CODEC, f_336714_

com.mojang.serialization.Codec<JukeboxSong>: a, DIRECT_CODEC, field_52027, CODEC

StreamCodec<RegistryFriendlyByteBuf, JukeboxSong>: b, DIRECT_STREAM_CODEC, field_52028, PACKET_CODEC, f_337568_

StreamCodec<RegistryFriendlyByteBuf, JukeboxSong>: b, DIRECT_STREAM_CODEC, field_52028, PACKET_CODEC

com.mojang.serialization.Codec<Holder<JukeboxSong>>: c, CODEC, field_52029, ENTRY_CODEC, f_337351_

com.mojang.serialization.Codec<Holder<JukeboxSong>>: c, CODEC, field_52029, ENTRY_CODEC

StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>>: d, STREAM_CODEC, field_52030, ENTRY_PACKET_CODEC, f_337152_

StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>>: d, STREAM_CODEC, field_52030, ENTRY_PACKET_CODEC

int: i, SONG_END_PADDING_TICKS, field_52031, TICKS_PER_SECOND, f_337485_

int: i, SONG_END_PADDING_TICKS, field_52031, TICKS_PER_SECOND

Constructors

Methods

int (): a, lengthInTicks, method_60750, getLengthInTicks, m_340338_

int (): a, lengthInTicks, method_60750, getLengthInTicks

boolean (long): a, hasFinished, method_60751, shouldStopPlaying, m_339399_

boolean (long): a, hasFinished, method_60751, shouldStopPlaying

Optional<Holder<JukeboxSong>> (HolderLookup$Provider, ItemStack): a, fromStack, method_60753, getSongEntryFromStack, m_340276_

Optional<Holder<JukeboxSong>> (HolderLookup$Provider, ItemStack): a, fromStack, method_60753, getSongEntryFromStack

Holder<SoundEvent> (): b, soundEvent, comp_2835, soundEvent, f_337080_

Holder<SoundEvent> (): b, soundEvent, comp_2835, soundEvent

Component (): c, description, comp_2836, description, f_337519_

Component (): c, description, comp_2836, description

float (): d, lengthInSeconds, comp_2837, lengthInSeconds, f_337271_

float (): d, lengthInSeconds, comp_2837, lengthInSeconds

int (): e, comparatorOutput, comp_2838, comparatorOutput, f_337038_

int (): e, comparatorOutput, comp_2838, comparatorOutput

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cuv

net.minecraft.world.item.JukeboxSong

net.minecraft.class_9793

net.minecraft.block.jukebox.JukeboxSong

net.minecraft.src.C_336495_

net.minecraft.world.item.JukeboxSong

Fields

Holder<SoundEvent>: e, soundEvent, comp_2835, soundEvent, f_337080_

Component: f, description, comp_2836, description, f_337519_

float: g, lengthInSeconds, comp_2837, lengthInSeconds, f_337271_

int: h, comparatorOutput, comp_2838, comparatorOutput, f_337038_

com.mojang.serialization.Codec<JukeboxSong>: a, DIRECT_CODEC, field_52027, CODEC, f_336714_

StreamCodec<RegistryFriendlyByteBuf, JukeboxSong>: b, DIRECT_STREAM_CODEC, field_52028, PACKET_CODEC, f_337568_

com.mojang.serialization.Codec<Holder<JukeboxSong>>: c, CODEC, field_52029, ENTRY_CODEC, f_337351_

StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>>: d, STREAM_CODEC, field_52030, ENTRY_PACKET_CODEC, f_337152_

int: i, SONG_END_PADDING_TICKS, field_52031, TICKS_PER_SECOND, f_337485_

Constructors

(Holder<SoundEvent>, Component, float, int)

Methods

int (): a, lengthInTicks, method_60750, getLengthInTicks, m_340338_

boolean (long): a, hasFinished, method_60751, shouldStopPlaying, m_339399_

Optional<Holder<JukeboxSong>> (HolderLookup$Provider, ItemStack): a, fromStack, method_60753, getSongEntryFromStack, m_340276_

Holder<SoundEvent> (): b, soundEvent, comp_2835, soundEvent, f_337080_

Component (): c, description, comp_2836, description, f_337519_

float (): d, lengthInSeconds, comp_2837, lengthInSeconds, f_337271_

int (): e, comparatorOutput, comp_2838, comparatorOutput, f_337038_