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
- Mappings:
Namespace Name official dgj$b
intermediary net/minecraft/class_8514$class_8516
named net/minecraft/class_8514$class_8516
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.event.listener.GameEventListener
GameEventListener.class_8513<T extends GameEventListener>, GameEventListener.TriggerOrder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the position source of this listener.int
getRange()
Returns the range, in blocks, of the listener.boolean
listen
(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private void
method_51399
(ServerWorld serverWorld, class_8514.class_8515 class_8515, GameEvent gameEvent, GameEvent.Emitter emitter, Vec3d vec3d, Vec3d vec3d2) private static boolean
method_51400
(World world, Vec3d vec3d, Vec3d vec3d2) static float
method_51402
(BlockPos blockPos, BlockPos blockPos2) void
method_51403
(ServerWorld serverWorld, GameEvent gameEvent, GameEvent.Emitter emitter, Vec3d vec3d) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.event.listener.GameEventListener
getTriggerOrder
-
Field Details
-
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
-
-
Method Details
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSource
in interfaceGameEventListener
- 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 interfaceGameEventListener
- 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 interfaceGameEventListener
- 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
- 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
- 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
-