Class GameEventDebugRenderer.Listener
java.lang.Object
net.minecraft.client.render.debug.GameEventDebugRenderer.Listener
- All Implemented Interfaces:
GameEventListener
- Enclosing class:
GameEventDebugRenderer
@Environment(CLIENT)
private static class GameEventDebugRenderer.Listener
extends Object
implements GameEventListener
- Mappings:
Namespace Name named net/minecraft/client/render/debug/GameEventDebugRenderer$Listener
intermediary net/minecraft/class_5739$class_5741
official gpl$b
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.event.listener.GameEventListener
GameEventListener.Holder<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
boolean
listen
(ServerWorld world, RegistryEntry<GameEvent> event, GameEvent.Emitter emitter, Vec3d emitterPos) Listens to an incoming game event.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
-
positionSource
- Mappings:
Namespace Name Mixin selector named positionSource
Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;positionSource:Lnet/minecraft/world/event/PositionSource;
intermediary field_28261
Lnet/minecraft/class_5739$class_5741;field_28261:Lnet/minecraft/class_5716;
official a
Lgpl$b;a:Lecu;
-
range
public final int range- Mappings:
Namespace Name Mixin selector named range
Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;range:I
intermediary field_28262
Lnet/minecraft/class_5739$class_5741;field_28262:I
official b
Lgpl$b;b:I
-
-
Constructor Details
-
Listener
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;<init>(Lnet/minecraft/world/event/PositionSource;I)V
intermediary <init>
Lnet/minecraft/class_5739$class_5741;<init>(Lnet/minecraft/class_5716;I)V
official <init>
Lgpl$b;<init>(Lecu;I)V
-
-
Method Details
-
isTooFar
- Mappings:
Namespace Name Mixin selector named isTooFar
Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;isTooFar(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_33095
Lnet/minecraft/class_5739$class_5741;method_33095(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Z
official a
Lgpl$b;a(Ldhh;Lfbx;)Z
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;getPos(Lnet/minecraft/world/World;)Ljava/util/Optional;
intermediary method_33094
Lnet/minecraft/class_5739$class_5741;method_33094(Lnet/minecraft/class_1937;)Ljava/util/Optional;
official a
Lgpl$b;a(Ldhh;)Ljava/util/Optional;
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSource
in interfaceGameEventListener
- Mappings:
Namespace Name Mixin selector named getPositionSource
Lnet/minecraft/world/event/listener/GameEventListener;getPositionSource()Lnet/minecraft/world/event/PositionSource;
intermediary method_32946
Lnet/minecraft/class_5714;method_32946()Lnet/minecraft/class_5716;
official a
Lecs;a()Lecu;
-
getRange
public int getRange()Returns the range, in blocks, of the listener.- Specified by:
getRange
in interfaceGameEventListener
- Mappings:
Namespace Name Mixin selector named getRange
Lnet/minecraft/world/event/listener/GameEventListener;getRange()I
intermediary method_32948
Lnet/minecraft/class_5714;method_32948()I
official b
Lecs;b()I
-
listen
public boolean listen(ServerWorld world, RegistryEntry<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 named listen
Lnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/world/event/GameEvent$Emitter;Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_32947
Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_6880;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_243;)Z
official a
Lecs;a(Lash;Ljq;Lecq$a;Lfbx;)Z
-