Class BreezeDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.BreezeDebugRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate final Minecraftprivate static final intprivate final Map<Integer, BreezeDebugPayload.BreezeInfo> private static final floatprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(BreezeDebugPayload.BreezeInfo breeze) voidclear()private static voiddrawCircle(org.joml.Matrix4f pose, double xOffset, double yOffset, double zOffset, VertexConsumer consumer, Vec3 pos, float radius, int color) private static voiddrawCircleVertex(int index, org.joml.Matrix4f pose, double xOffset, double yOffset, double zOffset, VertexConsumer consumer, Vec3 circleCenter, float radius, int color) private static voiddrawLine(PoseStack poseStack, MultiBufferSource buffer, double xOffset, double yOffset, double zOffset, Vec3 fromPos, Vec3 toPos, int color) voidrender(PoseStack poseStack, MultiBufferSource buffer, double xOffset, double yOffset, double zOffset)
-
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 poseStack, MultiBufferSource buffer, double xOffset, double yOffset, double zOffset) -
drawLine
private static void drawLine(PoseStack poseStack, MultiBufferSource buffer, double xOffset, double yOffset, double zOffset, Vec3 fromPos, Vec3 toPos, int color) -
drawCircle
private static void drawCircle(org.joml.Matrix4f pose, double xOffset, double yOffset, double zOffset, VertexConsumer consumer, Vec3 pos, float radius, int color) -
drawCircleVertex
private static void drawCircleVertex(int index, org.joml.Matrix4f pose, double xOffset, double yOffset, double zOffset, VertexConsumer consumer, Vec3 circleCenter, float radius, int color) -
clear
public void clear() -
add
-