Class DebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.DebugRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BeeDebugRendererfinal BrainDebugRendererfinal BreezeDebugRendererfinal GameTestDebugRendererfinal NeighborsUpdateRendererfinal OctreeDebugRendererfinal PathfindingRendererfinal RaidDebugRendererprivate booleanprivate booleanfinal StructureRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getTargetedEntity(Entity pEntity, int pDistance) private static Vec3mixColor(float pShift) voidrender(PoseStack pPoseStack, Frustum pFrustum, MultiBufferSource.BufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) voidrenderAfterTranslucents(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) static voidrenderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pStartPos, BlockPos pEndPos, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderFilledUnitCube(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pRed, float pGreen, float pBlue, float pAlpha) static voidrenderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor) static voidrenderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor, float pScale) static voidrenderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor, float pScale, boolean pCenter, float pXOffset, boolean pTransparent) static voidrenderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, int pX, int pY, int pZ, int pColor) static voidrenderVoxelShape(PoseStack pPoseStack, VertexConsumer pBuffer, VoxelShape pShape, double pX, double pY, double pZ, float pRed, float pGreen, float pBlue, float pAlpha, boolean pLowerColorVariance) private static Vec3shiftHue(float pRed, float pGreen, float pBlue, float pShift) booleanboolean
-
Field Details
-
pathfindingRenderer
-
waterDebugRenderer
-
chunkBorderRenderer
-
heightMapRenderer
-
collisionBoxRenderer
-
supportBlockRenderer
-
neighborsUpdateRenderer
-
redstoneWireOrientationsRenderer
-
structureRenderer
-
lightDebugRenderer
-
worldGenAttemptRenderer
-
solidFaceRenderer
-
chunkRenderer
-
brainDebugRenderer
-
villageSectionsDebugRenderer
-
beeDebugRenderer
-
raidDebugRenderer
-
goalSelectorRenderer
-
gameTestDebugRenderer
-
gameEventListenerRenderer
-
skyLightSectionDebugRenderer
-
breezeDebugRenderer
-
chunkCullingDebugRenderer
-
octreeDebugRenderer
-
renderChunkborder
private boolean renderChunkborder -
renderOctree
private boolean renderOctree
-
-
Constructor Details
-
DebugRenderer
-
-
Method Details
-
clear
public void clear() -
switchRenderChunkborder
public boolean switchRenderChunkborder() -
toggleRenderOctree
public boolean toggleRenderOctree() -
render
public void render(PoseStack pPoseStack, Frustum pFrustum, MultiBufferSource.BufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) -
renderAfterTranslucents
public void renderAfterTranslucents(PoseStack pPoseStack, MultiBufferSource.BufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) -
getTargetedEntity
-
renderFilledUnitCube
public static void renderFilledUnitCube(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFilledBox
public static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pStartPos, BlockPos pEndPos, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFilledBox
public static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, BlockPos pPos, float pScale, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFilledBox
public static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, AABB pBoundingBox, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFilledBox
public static void renderFilledBox(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pMinX, double pMinY, double pMinZ, double pMaxX, double pMaxY, double pMaxZ, float pRed, float pGreen, float pBlue, float pAlpha) -
renderFloatingText
public static void renderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, int pX, int pY, int pZ, int pColor) -
renderFloatingText
public static void renderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor) -
renderFloatingText
public static void renderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor, float pScale) -
renderFloatingText
public static void renderFloatingText(PoseStack pPoseStack, MultiBufferSource pBufferSource, String pText, double pX, double pY, double pZ, int pColor, float pScale, boolean pCenter, float pXOffset, boolean pTransparent) -
mixColor
-
shiftHue
-
renderVoxelShape
public static void renderVoxelShape(PoseStack pPoseStack, VertexConsumer pBuffer, VoxelShape pShape, double pX, double pY, double pZ, float pRed, float pGreen, float pBlue, float pAlpha, boolean pLowerColorVariance)
-