Class GameEventDebugRenderer
java.lang.Object
net.minecraft.client.render.debug.GameEventDebugRenderer
- All Implemented Interfaces:
DebugRenderer.Renderer
@Environment(CLIENT)
public class GameEventDebugRenderer
extends Object
implements DebugRenderer.Renderer
- Mappings:
Namespace Name official fneintermediary net/minecraft/class_5739named net/minecraft/client/render/debug/GameEventDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final List<GameEventDebugRenderer.Entry>private static final intprivate static final floatprivate final List<GameEventDebugRenderer.Listener> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddListener(PositionSource positionSource, int range) private static voiddrawBoxIfCameraReady(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Box box, float red, float green, float blue, float alpha) voidrender(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.debug.DebugRenderer.Renderer
clear
-
Field Details
-
field_32899
private static final int field_32899- See Also:
- Mappings:
Namespace Name Mixin selector official bLfne;b:Iintermediary field_32899Lnet/minecraft/class_5739;field_32899:Inamed field_32899Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32899:I
-
field_32900
private static final float field_32900- See Also:
- Mappings:
Namespace Name Mixin selector official cLfne;c:Fintermediary field_32900Lnet/minecraft/class_5739;field_32900:Fnamed field_32900Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32900:F
-
client
- Mappings:
Namespace Name Mixin selector official aLfne;a:Lenn;intermediary field_28255Lnet/minecraft/class_5739;field_28255:Lnet/minecraft/class_310;named clientLnet/minecraft/client/render/debug/GameEventDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
-
entries
- Mappings:
Namespace Name Mixin selector official dLfne;d:Ljava/util/List;intermediary field_28256Lnet/minecraft/class_5739;field_28256:Ljava/util/List;named entriesLnet/minecraft/client/render/debug/GameEventDebugRenderer;entries:Ljava/util/List;
-
listeners
- Mappings:
Namespace Name Mixin selector official eLfne;e:Ljava/util/List;intermediary field_28257Lnet/minecraft/class_5739;field_28257:Ljava/util/List;named listenersLnet/minecraft/client/render/debug/GameEventDebugRenderer;listeners:Ljava/util/List;
-
-
Constructor Details
-
GameEventDebugRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lfne;<init>(Lenn;)Vintermediary <init>Lnet/minecraft/class_5739;<init>(Lnet/minecraft/class_310;)Vnamed <init>Lnet/minecraft/client/render/debug/GameEventDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
renderin interfaceDebugRenderer.Renderer- Mappings:
Namespace Name Mixin selector official aLfnd$a;a(Leij;Lfjx;DDD)Vintermediary method_23109Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)Vnamed renderLnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
-
drawBoxIfCameraReady
private static void drawBoxIfCameraReady(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Box box, float red, float green, float blue, float alpha) - Mappings:
Namespace Name Mixin selector official aLfne;a(Leij;Lfjx;Leed;FFFF)Vintermediary method_33089Lnet/minecraft/class_5739;method_33089(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_238;FFFF)Vnamed drawBoxIfCameraReadyLnet/minecraft/client/render/debug/GameEventDebugRenderer;drawBoxIfCameraReady(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/Box;FFFF)V
-
addEvent
- Mappings:
Namespace Name Mixin selector official aLfne;a(Ldgl;Leei;)Vintermediary method_33087Lnet/minecraft/class_5739;method_33087(Lnet/minecraft/class_5712;Lnet/minecraft/class_243;)Vnamed addEventLnet/minecraft/client/render/debug/GameEventDebugRenderer;addEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/Vec3d;)V
-
addListener
- Mappings:
Namespace Name Mixin selector official aLfne;a(Ldgp;I)Vintermediary method_33088Lnet/minecraft/class_5739;method_33088(Lnet/minecraft/class_5716;I)Vnamed addListenerLnet/minecraft/client/render/debug/GameEventDebugRenderer;addListener(Lnet/minecraft/world/event/PositionSource;I)V
-