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 floatprivate static final intprivate final Minecraftprivate final List<GameEventListenerRenderer.TrackedGameEvent> private final List<GameEventListenerRenderer.TrackedListener> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) private static voidrenderFilledBox(PoseStack pPoseStack, MultiBufferSource pBuffer, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) voidtrackGameEvent(ResourceKey<GameEvent> pGameEvent, Vec3 pPosition) voidtrackListener(PositionSource pListenerSource, int pListenerRange) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
renderFilledBox
private static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBuffer, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) -
trackGameEvent
-
trackListener
-