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 official fav$bintermediary net/minecraft/class_5739$class_5741named net/minecraft/client/render/debug/GameEventDebugRenderer$Listener
-
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.booleanbooleanlisten(ServerWorld world, GameEvent.Message event) Listens to an incoming game event.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
shouldListenImmediately
-
Field Details
-
positionSource
- Mappings:
Namespace Name Mixin selector official aLfav$b;a:Lcyy;intermediary field_28261Lnet/minecraft/class_5739$class_5741;field_28261:Lnet/minecraft/class_5716;named positionSourceLnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;positionSource:Lnet/minecraft/world/event/PositionSource;
-
range
public final int range- Mappings:
Namespace Name Mixin selector official bLfav$b;b:Iintermediary field_28262Lnet/minecraft/class_5739$class_5741;field_28262:Inamed rangeLnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;range:I
-
-
Constructor Details
-
Listener
- Mappings:
Namespace Name Mixin selector official <init>Lfav$b;<init>(Lcyy;I)Vintermediary <init>Lnet/minecraft/class_5739$class_5741;<init>(Lnet/minecraft/class_5716;I)Vnamed <init>Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;<init>(Lnet/minecraft/world/event/PositionSource;I)V
-
-
Method Details
-
isTooFar
- Mappings:
Namespace Name Mixin selector official aLfav$b;a(Lcfy;Ldvq;)Zintermediary method_33095Lnet/minecraft/class_5739$class_5741;method_33095(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Znamed isTooFarLnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;isTooFar(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)Z
-
getPos
- Mappings:
Namespace Name Mixin selector official aLfav$b;a(Lcfy;)Ljava/util/Optional;intermediary method_33094Lnet/minecraft/class_5739$class_5741;method_33094(Lnet/minecraft/class_1937;)Ljava/util/Optional;named getPosLnet/minecraft/client/render/debug/GameEventDebugRenderer$Listener;getPos(Lnet/minecraft/world/World;)Ljava/util/Optional;
-
getPositionSource
Returns the position source of this listener.- Specified by:
getPositionSourcein interfaceGameEventListener- Mappings:
Namespace Name Mixin selector official dLcyx;d()Lcyy;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 fLcyx;f()Iintermediary method_32948Lnet/minecraft/class_5714;method_32948()Inamed getRangeLnet/minecraft/world/event/listener/GameEventListener;getRange()I
-
listen
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 aLcyx;a(Lafo;Lcyv$b;)Zintermediary method_32947Lnet/minecraft/class_5714;method_32947(Lnet/minecraft/class_3218;Lnet/minecraft/class_5712$class_7447;)Znamed listenLnet/minecraft/world/event/listener/GameEventListener;listen(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/GameEvent$Message;)Z
-