Class LevelEventHandler

java.lang.Object
net.minecraft.client.renderer.LevelEventHandler

public class LevelEventHandler extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • globalLevelEvent

      public void globalLevelEvent(int type, BlockPos pos, int data)
    • levelEvent

      public void levelEvent(int eventType, BlockPos pos, int data)
    • shootParticles

      private void shootParticles(int data, BlockPos pos, RandomSource random, SimpleParticleType particle)
    • playJukeboxSong

      private void playJukeboxSong(Holder<JukeboxSong> songHolder, BlockPos pos)
    • stopJukeboxSong

      private void stopJukeboxSong(BlockPos pos)
    • stopJukeboxSongAndNotifyNearby

      private void stopJukeboxSongAndNotifyNearby(BlockPos pos)
    • notifyNearbyEntities

      private void notifyNearbyEntities(Level level, BlockPos pos, boolean isPlaying)