Class WorldEventHandler

java.lang.Object
net.minecraft.client.world.WorldEventHandler

@Environment(CLIENT) public class WorldEventHandler extends Object
Mappings:
Namespace Name
named net/minecraft/client/world/WorldEventHandler
intermediary net/minecraft/class_9959
official glu
  • Field Details Link icon

    • client Link icon

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/world/WorldEventHandler;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_53068 Lnet/minecraft/class_9959;field_53068:Lnet/minecraft/class_310;
      official a Lglu;a:Lflk;
    • world Link icon

      private final World world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/client/world/WorldEventHandler;world:Lnet/minecraft/world/World;
      intermediary field_53069 Lnet/minecraft/class_9959;field_53069:Lnet/minecraft/class_1937;
      official b Lglu;b:Ldgj;
    • worldRenderer Link icon

      private final WorldRenderer worldRenderer
      Mappings:
      Namespace Name Mixin selector
      named worldRenderer Lnet/minecraft/client/world/WorldEventHandler;worldRenderer:Lnet/minecraft/client/render/WorldRenderer;
      intermediary field_53070 Lnet/minecraft/class_9959;field_53070:Lnet/minecraft/class_761;
      official c Lglu;c:Lglv;
    • playingSongs Link icon

      private final Map<BlockPos,SoundInstance> playingSongs
      Mappings:
      Namespace Name Mixin selector
      named playingSongs Lnet/minecraft/client/world/WorldEventHandler;playingSongs:Ljava/util/Map;
      intermediary field_53071 Lnet/minecraft/class_9959;field_53071:Ljava/util/Map;
      official d Lglu;d:Ljava/util/Map;
  • Constructor Details Link icon

    • WorldEventHandler Link icon

      public WorldEventHandler(MinecraftClient client, World world, WorldRenderer worldRenderer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/world/WorldEventHandler;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/world/World;Lnet/minecraft/client/render/WorldRenderer;)V
      intermediary <init> Lnet/minecraft/class_9959;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_1937;Lnet/minecraft/class_761;)V
      official <init> Lglu;<init>(Lflk;Ldgj;Lglv;)V
  • Method Details Link icon

    • processGlobalEvent Link icon

      public void processGlobalEvent(int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      named processGlobalEvent Lnet/minecraft/client/world/WorldEventHandler;processGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)V
      intermediary method_62187 Lnet/minecraft/class_9959;method_62187(ILnet/minecraft/class_2338;I)V
      official a Lglu;a(ILji;I)V
    • processWorldEvent Link icon

      public void processWorldEvent(int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      named processWorldEvent Lnet/minecraft/client/world/WorldEventHandler;processWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
      intermediary method_62194 Lnet/minecraft/class_9959;method_62194(ILnet/minecraft/class_2338;I)V
      official b Lglu;b(ILji;I)V
    • shootParticles Link icon

      private void shootParticles(int direction, BlockPos pos, Random random, SimpleParticleType particleType)
      Mappings:
      Namespace Name Mixin selector
      named shootParticles Lnet/minecraft/client/world/WorldEventHandler;shootParticles(ILnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/particle/SimpleParticleType;)V
      intermediary method_62188 Lnet/minecraft/class_9959;method_62188(ILnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_2400;)V
      official a Lglu;a(ILji;Lazh;Llx;)V
    • playJukeboxSong Link icon

      private void playJukeboxSong(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos)
      Mappings:
      Namespace Name Mixin selector
      named playJukeboxSong Lnet/minecraft/client/world/WorldEventHandler;playJukeboxSong(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_62193 Lnet/minecraft/class_9959;method_62193(Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)V
      official a Lglu;a(Ljr;Lji;)V
    • stopJukeboxSong Link icon

      private void stopJukeboxSong(BlockPos jukeboxPos)
      Mappings:
      Namespace Name Mixin selector
      named stopJukeboxSong Lnet/minecraft/client/world/WorldEventHandler;stopJukeboxSong(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_62191 Lnet/minecraft/class_9959;method_62191(Lnet/minecraft/class_2338;)V
      official a Lglu;a(Lji;)V
    • stopJukeboxSongAndUpdate Link icon

      private void stopJukeboxSongAndUpdate(BlockPos jukeboxPos)
      Mappings:
      Namespace Name Mixin selector
      named stopJukeboxSongAndUpdate Lnet/minecraft/client/world/WorldEventHandler;stopJukeboxSongAndUpdate(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_62195 Lnet/minecraft/class_9959;method_62195(Lnet/minecraft/class_2338;)V
      official b Lglu;b(Lji;)V
    • updateEntitiesForSong Link icon

      private void updateEntitiesForSong(World world, BlockPos pos, boolean playing)
      Mappings:
      Namespace Name Mixin selector
      named updateEntitiesForSong Lnet/minecraft/client/world/WorldEventHandler;updateEntitiesForSong(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)V
      intermediary method_62190 Lnet/minecraft/class_9959;method_62190(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)V
      official a Lglu;a(Ldgj;Lji;Z)V