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 entity, int distance) private static Vec3mixColor(float shift) voidrender(PoseStack poseStack, Frustum frustum, MultiBufferSource.BufferSource bufferSource, double camX, double camY, double camZ) voidrenderAfterTranslucents(PoseStack poseStack, MultiBufferSource.BufferSource bufferSource, double camX, double camY, double camZ) static voidrenderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, double minX, double minY, double minZ, double maxX, double maxY, double maxZ, float red, float green, float blue, float alpha) static voidrenderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float scale, float red, float green, float blue, float alpha) static voidrenderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos startPos, BlockPos endPos, float red, float green, float blue, float alpha) static voidrenderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, AABB boundingBox, float red, float green, float blue, float alpha) static voidrenderFilledUnitCube(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float red, float green, float blue, float alpha) static voidrenderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color) static voidrenderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale) static voidrenderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale, boolean center, float xOffset, boolean transparent) static voidrenderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, int x, int y, int z, int color) static voidrenderVoxelShape(PoseStack poseStack, VertexConsumer buffer, VoxelShape shape, double x, double y, double z, float red, float green, float blue, float alpha, boolean lowerColorVariance) private static Vec3shiftHue(float red, float green, float blue, float shift) 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 poseStack, Frustum frustum, MultiBufferSource.BufferSource bufferSource, double camX, double camY, double camZ) -
renderAfterTranslucents
public void renderAfterTranslucents(PoseStack poseStack, MultiBufferSource.BufferSource bufferSource, double camX, double camY, double camZ) -
getTargetedEntity
-
renderFilledUnitCube
public static void renderFilledUnitCube(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float red, float green, float blue, float alpha) -
renderFilledBox
public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos startPos, BlockPos endPos, float red, float green, float blue, float alpha) -
renderFilledBox
public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, BlockPos pos, float scale, float red, float green, float blue, float alpha) -
renderFilledBox
public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, AABB boundingBox, float red, float green, float blue, float alpha) -
renderFilledBox
public static void renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, double minX, double minY, double minZ, double maxX, double maxY, double maxZ, float red, float green, float blue, float alpha) -
renderFloatingText
public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, int x, int y, int z, int color) -
renderFloatingText
public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color) -
renderFloatingText
public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale) -
renderFloatingText
public static void renderFloatingText(PoseStack poseStack, MultiBufferSource bufferSource, String text, double x, double y, double z, int color, float scale, boolean center, float xOffset, boolean transparent) -
mixColor
-
shiftHue
-
renderVoxelShape
public static void renderVoxelShape(PoseStack poseStack, VertexConsumer buffer, VoxelShape shape, double x, double y, double z, float red, float green, float blue, float alpha, boolean lowerColorVariance)
-