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$bintermediary net/minecraft/class_8514$class_8516named 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.intgetRange()Returns the range, in blocks, of the listener.booleanlisten(ServerWorld world, GameEvent event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.private voidmethod_51399(ServerWorld serverWorld, class_8514.class_8515 class_8515, GameEvent gameEvent, GameEvent.Emitter emitter, Vec3d vec3d, Vec3d vec3d2) private static booleanmethod_51400(World world, Vec3d vec3d, Vec3d vec3d2) static floatmethod_51402(BlockPos blockPos, BlockPos blockPos2) voidmethod_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, waitMethods inherited from interface net.minecraft.world.event.listener.GameEventListener
getTriggerOrder
-
Field Details
-
field_44646
- Mappings:
Namespace Name Mixin selector official aLdgj$b;a:Ldgj;intermediary field_44646Lnet/minecraft/class_8514$class_8516;field_44646:Lnet/minecraft/class_8514;named field_44646Lnet/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:
getPositionSourcein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official aLdgc;a()Ldge;intermediary method_32946Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;named getPositionSourceLnet/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:
getRangein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official bLdgc;b()Iintermediary method_32948Lnet/minecraft/class_5714;method_32948()Inamed getRangeLnet/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:
listenin interfaceGameEventListener- Returns:
trueif the game event has been accepted by this listener- Mappings:
Namespace Name Mixin selector official aLdgc;a(Laid;Ldga;Ldga$a;Ledp;)Zintermediary method_32947Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Znamed listenLnet/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 bLdgj$b;b(Laid;Ldga;Ldga$a;Ledp;)Vintermediary method_51403Lnet/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;)Vnamed method_51403Lnet/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 aLdgj$b;a(Laid;Ldgj$a;Ldga;Ldga$a;Ledp;Ledp;)Vintermediary method_51399Lnet/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;)Vnamed method_51399Lnet/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 aLdgj$b;a(Lgu;Lgu;)Fintermediary method_51402Lnet/minecraft/class_8514$class_8516;method_51402(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Fnamed method_51402Lnet/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 aLdgj$b;a(Lcmd;Ledp;Ledp;)Zintermediary method_51400Lnet/minecraft/class_8514$class_8516;method_51400(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Znamed method_51400Lnet/minecraft/class_8514$class_8516;method_51400(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
-