net.minecraft.world.item

public class JukeboxSongPlayer

cxw
net.minecraft.world.item.JukeboxSongPlayer
net.minecraft.class_9794
net.minecraft.unmapped.C_zwbqwxsg
net.minecraft.block.jukebox.JukeboxManager
net.minecraft.item.JukeboxSongPlayer
net.minecraft.src.C_336461_
net.minecraft.world.item.JukeboxSongPlayer

Field summary

Modifier and TypeField
public static final int
a
PLAY_EVENT_INTERVAL_TICKS
field_52032
f_askewdep
TICKS_PER_SECOND
PLAY_INTERVAL_TICKS
f_337088_
private long
b
ticksSinceSongStarted
field_52033
f_vxdkchkp
ticksSinceSongStarted
ticksSinceSongStarted
f_337384_
private Holder<JukeboxSong>
c
song
field_52034
f_bltvnomi
song
song
f_336722_
private final BlockPos
d
blockPos
field_52035
f_vhknfgno
pos
pos
f_336994_
private final JukeboxSongPlayer$OnSongChanged
e
onSongChanged
field_52036
f_upumaihd
changeNotifier
notifier
f_336789_

Constructor summary

ModifierConstructor
public (JukeboxSongPlayer$OnSongChanged changeNotifier, BlockPos pos)

Method summary

Modifier and TypeMethod
public boolean
a()
isPlaying()
method_60754()
m_rgwzkwlz()
isPlaying()
hasSong()
m_339846_()
public JukeboxSong
b()
getSong()
method_60759()
m_oipmnqpe()
getSong()
getSong()
m_339544_()
public long
c()
getTicksSinceSongStarted()
method_60761()
m_jfeoltng()
getTicksSinceSongStarted()
getTicksSinceSongStarted()
m_338357_()
public void
a(jq<cxv> arg0, long arg1)
setSongWithoutPlaying(Holder<JukeboxSong> arg0, long arg1)
method_60758(class_6880<class_9793> arg0, long arg1)
m_jbpnynxe(C_cjzoxshv<C_yeazlrrn> arg0, long arg1)
setValues(RegistryEntry<JukeboxSong> song, long ticksPlaying)
setSongData(Holder<JukeboxSong> song, long ticksSinceSongStarted)
m_339068_(C_203228_<C_336495_> p_342718_, long arg1)
public void
a(dhj arg0, jq<cxv> arg1)
play(LevelAccessor arg0, Holder<JukeboxSong> arg1)
method_60757(class_1936 arg0, class_6880<class_9793> arg1)
m_stburzfg(C_vdvbsyle arg0, C_cjzoxshv<C_yeazlrrn> arg1)
startPlaying(WorldAccess world, RegistryEntry<JukeboxSong> song)
play(WorldAccess world, Holder<JukeboxSong> song)
m_340018_(C_1598_ p_342120_, C_203228_<C_336495_> arg1)
public void
a(dhj arg0, dxv arg1)
stop(LevelAccessor arg0, BlockState arg1)
method_60755(class_1936 arg0, class_2680 arg1)
m_hsimurxj(C_vdvbsyle arg0, C_txtbiemp arg1)
stopPlaying(WorldAccess world, BlockState state)
stop(WorldAccess world, BlockState state)
m_339700_(C_1598_ p_342866_, C_2064_ arg1)
public void
b(dhj arg0, dxv arg1)
tick(LevelAccessor arg0, BlockState arg1)
method_60760(class_1936 arg0, class_2680 arg1)
m_gmndxbjb(C_vdvbsyle arg0, C_txtbiemp arg1)
tick(WorldAccess world, BlockState state)
tick(WorldAccess world, BlockState state)
m_339352_(C_1598_ p_344954_, C_2064_ arg1)
private boolean
d()
shouldEmitJukeboxPlayingEvent()
method_60763()
m_hpufcxah()
hasSecondPassed()
shouldEmitPlayEvent()
m_338795_()
private static void
a(dhj arg0, jh arg1)
spawnMusicParticles(LevelAccessor arg0, BlockPos arg1)
method_60756(class_1936 arg0, class_2338 arg1)
m_dcylthty(C_vdvbsyle arg0, C_hynzadkk arg1)
spawnNoteParticles(WorldAccess world, BlockPos pos)
spawnNotParticles(WorldAccess world, BlockPos pos)
m_339036_(C_1598_ p_343992_, C_4675_ p_342425_)