Package net.minecraft

Class class_8514.class_8516

java.lang.Object
net.minecraft.class_8514.class_8516
All Implemented Interfaces:
GameEventListener
Enclosing interface:
class_8514

public static class class_8514.class_8516 extends Object implements GameEventListener
Mappings:
Namespace Name
official dgj$b
intermediary net/minecraft/class_8514$class_8516
named net/minecraft/class_8514$class_8516
  • Field Details

    • field_44646

      private final class_8514 field_44646
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$b;a:Ldgj;
      intermediary field_44646 Lnet/minecraft/class_8514$class_8516;field_44646:Lnet/minecraft/class_8514;
      named field_44646 Lnet/minecraft/class_8514$class_8516;field_44646:Lnet/minecraft/class_8514;
  • Constructor Details

    • class_8516

      public class_8516(class_8514 class_8514)
  • Method Details

    • getPositionSource

      public PositionSource getPositionSource()
      Returns the position source of this listener.
      Specified by:
      getPositionSource in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      official a Ldgc;a()Ldge;
      intermediary method_32946 Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;
      named getPositionSource Lnet/minecraft/world/event/listener/GameEventListener;getPositionSource()Lnet/minecraft/world/event/PositionSource;
    • getRange

      public int getRange()
      Returns the range, in blocks, of the listener.
      Specified by:
      getRange in interface GameEventListener
      Mappings:
      Namespace Name Mixin selector
      official b Ldgc;b()I
      intermediary method_32948 Lnet/minecraft/class_5714;method_32948()I
      named getRange Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
    • listen

      public boolean listen(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos)
      Listens to an incoming game event.
      Specified by:
      listen in interface GameEventListener
      Returns:
      true if the game event has been accepted by this listener
      Mappings:
      Namespace Name Mixin selector
      official a Ldgc;a(Laid;Ldga;Ldga$a;Ledp;)Z
      intermediary method_32947 Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Z
      named listen Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)Z
    • method_51403

      public void method_51403(ServerWorld serverWorld, GameEvent gameEvent, GameEvent.Emitter emitter, Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgj$b;b(Laid;Ldga;Ldga$a;Ledp;)V
      intermediary method_51403 Lnet/minecraft/class_8514$class_8516;method_51403(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)V
      named method_51403 Lnet/minecraft/class_8514$class_8516;method_51403(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)V
    • method_51399

      private void method_51399(ServerWorld serverWorld, class_8514.class_8515 class_8515, GameEvent gameEvent, GameEvent.Emitter emitter, Vec3d vec3d, Vec3d vec3d2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$b;a(Laid;Ldgj$a;Ldga;Ldga$a;Ledp;Ledp;)V
      intermediary method_51399 Lnet/minecraft/class_8514$class_8516;method_51399(Lnet/minecraft/class_3218;Lnet/minecraft/class_8514$class_8515;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
      named method_51399 Lnet/minecraft/class_8514$class_8516;method_51399(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_8514$class_8515;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
    • method_51402

      public static float method_51402(BlockPos blockPos, BlockPos blockPos2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$b;a(Lgu;Lgu;)F
      intermediary method_51402 Lnet/minecraft/class_8514$class_8516;method_51402(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)F
      named method_51402 Lnet/minecraft/class_8514$class_8516;method_51402(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)F
    • method_51400

      private static boolean method_51400(World world, Vec3d vec3d, Vec3d vec3d2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgj$b;a(Lcmd;Ledp;Ledp;)Z
      intermediary method_51400 Lnet/minecraft/class_8514$class_8516;method_51400(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z
      named method_51400 Lnet/minecraft/class_8514$class_8516;method_51400(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z