类 LevelEventHandler
java.lang.Object
net.minecraft.client.renderer.LevelEventHandler
-
字段概要
字段修饰符和类型字段说明private final Level
private final LevelRenderer
private final Minecraft
private final Map
<BlockPos, SoundInstance> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
globalLevelEvent
(int p_364279_, BlockPos p_361580_, int p_363929_) void
levelEvent
(int p_368193_, BlockPos p_362689_, int p_368262_) private void
notifyNearbyEntities
(Level p_366051_, BlockPos p_362804_, boolean p_363434_) private void
playJukeboxSong
(Holder<JukeboxSong> p_369005_, BlockPos p_367637_) private void
shootParticles
(int p_365984_, BlockPos p_363841_, RandomSource p_369818_, SimpleParticleType p_368421_) private void
stopJukeboxSong
(BlockPos p_364210_) private void
stopJukeboxSongAndNotifyNearby
(BlockPos p_362905_)
-
字段详细资料
-
minecraft
-
level
-
levelRenderer
-
playingJukeboxSongs
-
-
构造器详细资料
-
LevelEventHandler
-
-
方法详细资料
-
globalLevelEvent
-
levelEvent
-
shootParticles
private void shootParticles(int p_365984_, BlockPos p_363841_, RandomSource p_369818_, SimpleParticleType p_368421_) -
playJukeboxSong
-
stopJukeboxSong
-
stopJukeboxSongAndNotifyNearby
-
notifyNearbyEntities
-