Class PoiDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.PoiDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BrainDebugRendererprivate static final intprivate static final intprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTicketHolderNames(DebugPoiInfo poiInfo, boolean potential, DebugValueAccess debugValueAccess) private static voidhighlightPoi(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos) voidrender(PoseStack p_449537_, MultiBufferSource p_449206_, double p_449139_, double p_449769_, double p_449309_, DebugValueAccess p_449351_, Frustum p_451095_) private voidrenderGhostPoi(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, List<String> entities) private voidrenderPoiInfo(PoseStack poseStack, MultiBufferSource bufferSource, DebugPoiInfo poiInfo, DebugValueAccess debugValueAccess) private static voidrenderTextOverPoi(PoseStack poseStack, MultiBufferSource bufferSource, String text, DebugPoiInfo poiInfo, int line, int color)
-
Field Details
-
MAX_RENDER_DIST_FOR_POI_INFO
private static final int MAX_RENDER_DIST_FOR_POI_INFO- See Also:
-
TEXT_SCALE
private static final float TEXT_SCALE- See Also:
-
ORANGE
private static final int ORANGE- See Also:
-
brainRenderer
-
-
Constructor Details
-
PoiDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack p_449537_, MultiBufferSource p_449206_, double p_449139_, double p_449769_, double p_449309_, DebugValueAccess p_449351_, Frustum p_451095_) - Specified by:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
highlightPoi
-
renderGhostPoi
private void renderGhostPoi(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, List<String> entities) -
renderPoiInfo
private void renderPoiInfo(PoseStack poseStack, MultiBufferSource bufferSource, DebugPoiInfo poiInfo, DebugValueAccess debugValueAccess) -
renderTextOverPoi
private static void renderTextOverPoi(PoseStack poseStack, MultiBufferSource bufferSource, String text, DebugPoiInfo poiInfo, int line, int color) -
getTicketHolderNames
private List<String> getTicketHolderNames(DebugPoiInfo poiInfo, boolean potential, DebugValueAccess debugValueAccess)
-