Class ServerWorldEventListener

java.lang.Object
net.minecraft.server.world.ServerWorldEventListener
All Implemented Interfaces:
GameEventListener

@Environment(SERVER) public class ServerWorldEventListener extends Object implements GameEventListener
Mappings:
Namespace Name
intermediary net/minecraft/class_72
glue class_133
server dm
client net/minecraft/class_72
named net/minecraft/server/world/ServerWorldEventListener
  • Field Details

    • server

      private MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      intermediary field_267 Lnet/minecraft/class_72;field_267:Lnet/minecraft/server/MinecraftServer;
      glue field_500 Lclass_133;field_500:Lnet/minecraft/server/MinecraftServer;
      server a Ldm;a:Lnet/minecraft/server/MinecraftServer;
      client field_267 Lnet/minecraft/class_72;field_267:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/world/ServerWorldEventListener;server:Lnet/minecraft/server/MinecraftServer;
    • world

      private ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      intermediary field_268 Lnet/minecraft/class_72;field_268:Lnet/minecraft/class_73;
      glue field_501 Lclass_133;field_501:Lclass_137;
      server b Ldm;b:Ldp;
      client field_268 Lnet/minecraft/class_72;field_268:Lnet/minecraft/class_73;
      named world Lnet/minecraft/server/world/ServerWorldEventListener;world:Lnet/minecraft/world/ServerWorld;
  • Constructor Details

    • ServerWorldEventListener

      public ServerWorldEventListener(MinecraftServer server, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_72;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_73;)V
      glue <init> Lclass_133;<init>(Lnet/minecraft/server/MinecraftServer;Lclass_137;)V
      server <init> Ldm;<init>(Lnet/minecraft/server/MinecraftServer;Ldp;)V
      client <init> Lnet/minecraft/class_72;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_73;)V
      named <init> Lnet/minecraft/server/world/ServerWorldEventListener;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/ServerWorld;)V
  • Method Details

    • addParticle

      public void addParticle(String particle, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Specified by:
      addParticle in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1153 Lnet/minecraft/class_59;method_1153(Ljava/lang/String;DDDDDD)V
      glue method_635 Lclass_369;method_635(Ljava/lang/String;DDDDDD)V
      server a Ljp;a(Ljava/lang/String;DDDDDD)V
      client a Lpm;a(Ljava/lang/String;DDDDDD)V
      named addParticle Lnet/minecraft/world/event/listener/GameEventListener;addParticle(Ljava/lang/String;DDDDDD)V
    • notifyEntityAdded

      public void notifyEntityAdded(Entity entity)
      Specified by:
      notifyEntityAdded in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1156 Lnet/minecraft/class_59;method_1156(Lnet/minecraft/class_57;)V
      glue method_638 Lclass_369;method_638(Lclass_450;)V
      server a Ljp;a(Llq;)V
      client a Lpm;a(Lsn;)V
      named notifyEntityAdded Lnet/minecraft/world/event/listener/GameEventListener;notifyEntityAdded(Lnet/minecraft/entity/Entity;)V
    • notifyEntityRemoved

      public void notifyEntityRemoved(Entity entity)
      Specified by:
      notifyEntityRemoved in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1157 Lnet/minecraft/class_59;method_1157(Lnet/minecraft/class_57;)V
      glue method_639 Lclass_369;method_639(Lclass_450;)V
      server b Ljp;b(Llq;)V
      client b Lpm;b(Lsn;)V
      named notifyEntityRemoved Lnet/minecraft/world/event/listener/GameEventListener;notifyEntityRemoved(Lnet/minecraft/entity/Entity;)V
    • playSound

      public void playSound(String sound, double x, double y, double z, float volume, float pitch)
      Specified by:
      playSound in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1154 Lnet/minecraft/class_59;method_1154(Ljava/lang/String;DDDFF)V
      glue method_636 Lclass_369;method_636(Ljava/lang/String;DDDFF)V
      server a Ljp;a(Ljava/lang/String;DDDFF)V
      client a Lpm;a(Ljava/lang/String;DDDFF)V
      named playSound Lnet/minecraft/world/event/listener/GameEventListener;playSound(Ljava/lang/String;DDDFF)V
    • setBlocksDirty

      public void setBlocksDirty(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Specified by:
      setBlocksDirty in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1150 Lnet/minecraft/class_59;method_1150(IIIIII)V
      glue method_632 Lclass_369;method_632(IIIIII)V
      server a Ljp;a(IIIIII)V
      client b Lpm;b(IIIIII)V
      named setBlocksDirty Lnet/minecraft/world/event/listener/GameEventListener;setBlocksDirty(IIIIII)V
    • notifyAmbientDarknessChanged

      public void notifyAmbientDarknessChanged()
      Specified by:
      notifyAmbientDarknessChanged in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1148 Lnet/minecraft/class_59;method_1148()V
      glue method_630 Lclass_369;method_630()V
      server a Ljp;a()V
      client e Lpm;e()V
      named notifyAmbientDarknessChanged Lnet/minecraft/world/event/listener/GameEventListener;notifyAmbientDarknessChanged()V
    • blockUpdate

      public void blockUpdate(int x, int y, int z)
      Specified by:
      blockUpdate in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1149 Lnet/minecraft/class_59;method_1149(III)V
      glue method_631 Lclass_369;method_631(III)V
      server a Ljp;a(III)V
      client a Lpm;a(III)V
      named blockUpdate Lnet/minecraft/world/event/listener/GameEventListener;blockUpdate(III)V
    • playStreaming

      public void playStreaming(String stream, int x, int y, int z)
      Specified by:
      playStreaming in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1155 Lnet/minecraft/class_59;method_1155(Ljava/lang/String;III)V
      glue method_637 Lclass_369;method_637(Ljava/lang/String;III)V
      server a Ljp;a(Ljava/lang/String;III)V
      client a Lpm;a(Ljava/lang/String;III)V
      named playStreaming Lnet/minecraft/world/event/listener/GameEventListener;playStreaming(Ljava/lang/String;III)V
    • updateBlockEntity

      public void updateBlockEntity(int x, int y, int z, BlockEntity blockEntity)
      Specified by:
      updateBlockEntity in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1151 Lnet/minecraft/class_59;method_1151(IIILnet/minecraft/class_55;)V
      glue method_633 Lclass_369;method_633(IIILclass_356;)V
      server a Ljp;a(IIILjh;)V
      client a Lpm;a(IIILow;)V
      named updateBlockEntity Lnet/minecraft/world/event/listener/GameEventListener;updateBlockEntity(IIILnet/minecraft/block/entity/BlockEntity;)V
    • worldEvent

      public void worldEvent(PlayerEntity player, int event, int x, int y, int z, int data)
      Specified by:
      worldEvent in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1152 Lnet/minecraft/class_59;method_1152(Lnet/minecraft/class_54;IIIII)V
      glue method_634 Lclass_369;method_634(Lclass_172;IIIII)V
      server a Ljp;a(Lem;IIIII)V
      client a Lpm;a(Lgs;IIIII)V
      named worldEvent Lnet/minecraft/world/event/listener/GameEventListener;worldEvent(Lnet/minecraft/entity/player/PlayerEntity;IIIII)V