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 named net/minecraft/client/render/debug/GameEventDebugRenderer
intermediary net/minecraft/class_5739
official ghs
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private final List
<GameEventDebugRenderer.Entry> private static final int
private static final float
private final List
<GameEventDebugRenderer.Listener> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(RegistryKey<GameEvent> eventKey, Vec3d pos) void
addListener
(PositionSource positionSource, int range) private static void
drawBoxIfCameraReady
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Box box, float red, float green, float blue, float alpha) void
render
(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, wait
Methods 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 named field_32899
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32899:I
intermediary field_32899
Lnet/minecraft/class_5739;field_32899:I
official b
Lghs;b:I
-
field_32900
private static final float field_32900- See Also:
- Mappings:
Namespace Name Mixin selector named field_32900
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;field_32900:F
intermediary field_32900
Lnet/minecraft/class_5739;field_32900:F
official c
Lghs;c:F
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_28255
Lnet/minecraft/class_5739;field_28255:Lnet/minecraft/class_310;
official a
Lghs;a:Lffw;
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;entries:Ljava/util/List;
intermediary field_28256
Lnet/minecraft/class_5739;field_28256:Ljava/util/List;
official d
Lghs;d:Ljava/util/List;
-
listeners
- Mappings:
Namespace Name Mixin selector named listeners
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;listeners:Ljava/util/List;
intermediary field_28257
Lnet/minecraft/class_5739;field_28257:Ljava/util/List;
official e
Lghs;e:Ljava/util/List;
-
-
Constructor Details
-
GameEventDebugRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;<init>(Lnet/minecraft/client/MinecraftClient;)V
intermediary <init>
Lnet/minecraft/class_5739;<init>(Lnet/minecraft/class_310;)V
official <init>
Lghs;<init>(Lffw;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ) - Specified by:
render
in interfaceDebugRenderer.Renderer
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/debug/DebugRenderer$Renderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;DDD)V
intermediary method_23109
Lnet/minecraft/class_863$class_864;method_23109(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;DDD)V
official a
Lghr$a;a(Lfao;Lgef;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 named drawBoxIfCameraReady
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;drawBoxIfCameraReady(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/util/math/Box;FFFF)V
intermediary method_33089
Lnet/minecraft/class_5739;method_33089(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_238;FFFF)V
official a
Lghs;a(Lfao;Lgef;Lewc;FFFF)V
-
addEvent
- Mappings:
Namespace Name Mixin selector named addEvent
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;addEvent(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_33087
Lnet/minecraft/class_5739;method_33087(Lnet/minecraft/class_5321;Lnet/minecraft/class_243;)V
official a
Lghs;a(Lakj;Lewh;)V
-
addListener
- Mappings:
Namespace Name Mixin selector named addListener
Lnet/minecraft/client/render/debug/GameEventDebugRenderer;addListener(Lnet/minecraft/world/event/PositionSource;I)V
intermediary method_33088
Lnet/minecraft/class_5739;method_33088(Lnet/minecraft/class_5716;I)V
official a
Lghs;a(Ldxl;I)V
-