Class BreezeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BreezeDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private final Minecraft
private static final int
private final Map
<Integer, BreezeDebugPayload.BreezeInfo> private static final float
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(BreezeDebugPayload.BreezeInfo pBreeze) void
clear()
private static void
drawCircle
(org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pPos, float pRadius, int pColor) private static void
drawCircleVertex
(int pIndex, org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pCircleCenter, float pRadius, int pColor) private static void
drawLine
(PoseStack pPoseStack, MultiBufferSource pBuffer, double pXOffset, double pYOffset, double pZOffset, Vec3 pFromPos, Vec3 pToPos, int pColor) void
render
(PoseStack pPoseStack, MultiBufferSource pBuffer, double pXOffset, double pYOffset, double pZOffset)
-
Field Details
-
JUMP_TARGET_LINE_COLOR
private static final int JUMP_TARGET_LINE_COLOR -
TARGET_LINE_COLOR
private static final int TARGET_LINE_COLOR -
INNER_CIRCLE_COLOR
private static final int INNER_CIRCLE_COLOR -
MIDDLE_CIRCLE_COLOR
private static final int MIDDLE_CIRCLE_COLOR -
OUTER_CIRCLE_COLOR
private static final int OUTER_CIRCLE_COLOR -
CIRCLE_VERTICES
private static final int CIRCLE_VERTICES- See Also:
-
SEGMENT_SIZE_RADIANS
private static final float SEGMENT_SIZE_RADIANS- See Also:
-
minecraft
-
perEntity
-
-
Constructor Details
-
BreezeDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack pPoseStack, MultiBufferSource pBuffer, double pXOffset, double pYOffset, double pZOffset) -
drawLine
private static void drawLine(PoseStack pPoseStack, MultiBufferSource pBuffer, double pXOffset, double pYOffset, double pZOffset, Vec3 pFromPos, Vec3 pToPos, int pColor) -
drawCircle
private static void drawCircle(org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pPos, float pRadius, int pColor) -
drawCircleVertex
private static void drawCircleVertex(int pIndex, org.joml.Matrix4f pPose, double pXOffset, double pYOffset, double pZOffset, VertexConsumer pConsumer, Vec3 pCircleCenter, float pRadius, int pColor) -
clear
public void clear() -
add
-