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 glf
  • Field Details

    • client

      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 Lglf;a:Lfmf;
    • world

      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 Lglf;b:Ldhh;
    • worldRenderer

      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 Lglf;c:Lglg;
    • playingSongs

      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 Lglf;d:Ljava/util/Map;
  • Constructor Details

    • WorldEventHandler

      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> Lglf;<init>(Lfmf;Ldhh;Lglg;)V
  • Method Details

    • processGlobalEvent

      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 Lglf;a(ILjh;I)V
    • processWorldEvent

      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 Lglf;b(ILjh;I)V
    • shootParticles

      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 Lglf;a(ILjh;Lbam;Llw;)V
    • playJukeboxSong

      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 Lglf;a(Ljq;Ljh;)V
    • stopJukeboxSong

      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 Lglf;a(Ljh;)V
    • stopJukeboxSongAndUpdate

      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 Lglf;b(Ljh;)V
    • updateEntitiesForSong

      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 Lglf;a(Ldhh;Ljh;Z)V