Class GameEventListenerRenderer
java.lang.Object
net.minecraft.client.renderer.debug.GameEventListenerRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float
private static final int
private final Minecraft
private final List
<GameEventListenerRenderer.TrackedGameEvent> private final List
<GameEventListenerRenderer.TrackedListener> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) private static void
renderFilledBox
(PoseStack pPoseStack, MultiBufferSource pBuffer, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) void
trackGameEvent
(ResourceKey<GameEvent> pGameEvent, Vec3 pPosition) void
trackListener
(PositionSource pListenerSource, int pListenerRange) 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.renderer.debug.DebugRenderer.SimpleDebugRenderer
clear
-
Field Details
-
minecraft
-
LISTENER_RENDER_DIST
private static final int LISTENER_RENDER_DIST- See Also:
-
BOX_HEIGHT
private static final float BOX_HEIGHT- See Also:
-
trackedGameEvents
-
trackedListeners
-
-
Constructor Details
-
GameEventListenerRenderer
-
-
Method Details
-
render
public void render(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) - Specified by:
render
in interfaceDebugRenderer.SimpleDebugRenderer
-
renderFilledBox
private static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBuffer, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) -
trackGameEvent
-
trackListener
-