Package net.minecraft.client.world
Class WorldEventHandler
java.lang.Object
net.minecraft.client.world.WorldEventHandler
- Mappings:
Namespace Name named net/minecraft/client/world/WorldEventHandlerintermediary net/minecraft/class_9959official gms
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final Map<BlockPos, SoundInstance> private final Worldprivate final WorldRenderer -
Constructor Summary
ConstructorsConstructorDescriptionWorldEventHandler(MinecraftClient client, World world, WorldRenderer worldRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidplayJukeboxSong(RegistryEntry<JukeboxSong> song, BlockPos jukeboxPos) voidprocessGlobalEvent(int eventId, BlockPos pos, int data) voidprocessWorldEvent(int eventId, BlockPos pos, int data) private voidshootParticles(int direction, BlockPos pos, Random random, SimpleParticleType particleType) private voidstopJukeboxSong(BlockPos jukeboxPos) private voidstopJukeboxSongAndUpdate(BlockPos jukeboxPos) private voidupdateEntitiesForSong(World world, BlockPos pos, boolean playing)
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/world/WorldEventHandler;client:Lnet/minecraft/client/MinecraftClient;intermediary field_53068Lnet/minecraft/class_9959;field_53068:Lnet/minecraft/class_310;official aLgms;a:Lfmg;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/client/world/WorldEventHandler;world:Lnet/minecraft/world/World;intermediary field_53069Lnet/minecraft/class_9959;field_53069:Lnet/minecraft/class_1937;official bLgms;b:Ldgz;
-
worldRenderer
- Mappings:
Namespace Name Mixin selector named worldRendererLnet/minecraft/client/world/WorldEventHandler;worldRenderer:Lnet/minecraft/client/render/WorldRenderer;intermediary field_53070Lnet/minecraft/class_9959;field_53070:Lnet/minecraft/class_761;official cLgms;c:Lgmt;
-
playingSongs
- Mappings:
Namespace Name Mixin selector named playingSongsLnet/minecraft/client/world/WorldEventHandler;playingSongs:Ljava/util/Map;intermediary field_53071Lnet/minecraft/class_9959;field_53071:Ljava/util/Map;official dLgms;d:Ljava/util/Map;
-
-
Constructor Details
-
WorldEventHandler
- 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;)Vintermediary <init>Lnet/minecraft/class_9959;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_1937;Lnet/minecraft/class_761;)Vofficial <init>Lgms;<init>(Lfmg;Ldgz;Lgmt;)V
-
-
Method Details
-
processGlobalEvent
- Mappings:
Namespace Name Mixin selector named processGlobalEventLnet/minecraft/client/world/WorldEventHandler;processGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_62187Lnet/minecraft/class_9959;method_62187(ILnet/minecraft/class_2338;I)Vofficial aLgms;a(ILji;I)V
-
processWorldEvent
- Mappings:
Namespace Name Mixin selector named processWorldEventLnet/minecraft/client/world/WorldEventHandler;processWorldEvent(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_62194Lnet/minecraft/class_9959;method_62194(ILnet/minecraft/class_2338;I)Vofficial bLgms;b(ILji;I)V
-
shootParticles
private void shootParticles(int direction, BlockPos pos, Random random, SimpleParticleType particleType) - Mappings:
Namespace Name Mixin selector named shootParticlesLnet/minecraft/client/world/WorldEventHandler;shootParticles(ILnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/particle/SimpleParticleType;)Vintermediary method_62188Lnet/minecraft/class_9959;method_62188(ILnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_2400;)Vofficial aLgms;a(ILji;Lazh;Llx;)V
-
playJukeboxSong
- Mappings:
Namespace Name Mixin selector named playJukeboxSongLnet/minecraft/client/world/WorldEventHandler;playJukeboxSong(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_62193Lnet/minecraft/class_9959;method_62193(Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)Vofficial aLgms;a(Ljr;Lji;)V
-
stopJukeboxSong
- Mappings:
Namespace Name Mixin selector named stopJukeboxSongLnet/minecraft/client/world/WorldEventHandler;stopJukeboxSong(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_62191Lnet/minecraft/class_9959;method_62191(Lnet/minecraft/class_2338;)Vofficial aLgms;a(Lji;)V
-
stopJukeboxSongAndUpdate
- Mappings:
Namespace Name Mixin selector named stopJukeboxSongAndUpdateLnet/minecraft/client/world/WorldEventHandler;stopJukeboxSongAndUpdate(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_62195Lnet/minecraft/class_9959;method_62195(Lnet/minecraft/class_2338;)Vofficial bLgms;b(Lji;)V
-
updateEntitiesForSong
- Mappings:
Namespace Name Mixin selector named updateEntitiesForSongLnet/minecraft/client/world/WorldEventHandler;updateEntitiesForSong(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Vintermediary method_62190Lnet/minecraft/class_9959;method_62190(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)Vofficial aLgms;a(Ldgz;Lji;Z)V
-