net.minecraft.world.item

public class JukeboxSongPlayer

czk
net.minecraft.world.item.JukeboxSongPlayer
net.minecraft.class_9794
net.minecraft.unmapped.C_zwbqwxsg
net.minecraft.block.jukebox.JukeboxManager
net.minecraft.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
private long
b
ticksSinceSongStarted
field_52033
f_vxdkchkp
ticksSinceSongStarted
ticksSinceSongStarted
private Holder<JukeboxSong>
c
song
field_52034
f_bltvnomi
song
song
private final BlockPos
d
blockPos
field_52035
f_vhknfgno
pos
pos
private final JukeboxSongPlayer$OnSongChanged
e
onSongChanged
field_52036
f_upumaihd
changeNotifier
notifier

Constructor summary

ModifierConstructor
public (JukeboxSongPlayer$OnSongChanged changeNotifier, BlockPos pos)

Method summary

Modifier and TypeMethod
public boolean
a()
isPlaying()
method_60754()
m_rgwzkwlz()
isPlaying()
hasSong()
public JukeboxSong
b()
getSong()
method_60759()
m_oipmnqpe()
getSong()
getSong()
public long
c()
getTicksSinceSongStarted()
method_60761()
m_jfeoltng()
getTicksSinceSongStarted()
getTicksSinceSongStarted()
public void
a(je<czj> 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)
public void
a(djb arg0, je<czj> 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)
public void
a(djb arg0, eah 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)
public void
b(djb arg0, eah 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)
private boolean
d()
shouldEmitJukeboxPlayingEvent()
method_60763()
m_hpufcxah()
hasSecondPassed()
shouldEmitPlayEvent()
private static void
a(djb arg0, iu 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)