History - net.minecraft.world.item.JukeboxSong

1.21

Names

cuv

net.minecraft.world.item.JukeboxSong

net.minecraft.class_9793

net.minecraft.unmapped.C_yeazlrrn

net.minecraft.block.jukebox.JukeboxSong

net.minecraft.unmapped.C_yeazlrrn

net.minecraft.src.C_336495_

net.minecraft.world.item.JukeboxSong

Fields

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

Component: f, description, comp_2836, f_femcklqi, description, description, f_337519_

float: g, lengthInSeconds, comp_2837, f_eqedczls, lengthInSeconds, lengthInSeconds, f_337271_

int: h, comparatorOutput, comp_2838, f_llqgatpt, comparatorOutput, comparatorOutput, f_337038_

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

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

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

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

int: i, SONG_END_PADDING_TICKS, field_52031, f_myldvoav, TICKS_PER_SECOND, f_337485_

Constructors

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

Methods

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

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

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

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

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

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

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