Class GizmoDrawerImpl
java.lang.Object
net.minecraft.client.render.gizmo.GizmoDrawerImpl
- All Implemented Interfaces:
GizmoDrawer
- Mappings:
Namespace Name named net/minecraft/client/render/gizmo/GizmoDrawerImplintermediary net/minecraft/class_12160official icm
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final recordprivate static final recordprivate static final recordprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GizmoDrawerImpl.Line> private final List<GizmoDrawerImpl.Point> private final List<GizmoDrawerImpl.Polygon> private final List<GizmoDrawerImpl.Quad> private final List<GizmoDrawerImpl.Text> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddPolygon(Vec3d[] vertices, int color) voidvoidaddText(Vec3d pos, String text, TextGizmo.Style style) voiddraw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f) private voiddrawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voiddrawPolygons(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voiddrawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voidmethod_75476(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voidmethod_75480(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f)
-
Field Details
-
lines
- Mappings:
Namespace Name Mixin selector named linesLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;lines:Ljava/util/List;intermediary field_63608Lnet/minecraft/class_12160;field_63608:Ljava/util/List;official aLicm;a:Ljava/util/List;
-
quads
- Mappings:
Namespace Name Mixin selector named quadsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;quads:Ljava/util/List;intermediary field_63609Lnet/minecraft/class_12160;field_63609:Ljava/util/List;official bLicm;b:Ljava/util/List;
-
polygons
- Mappings:
Namespace Name Mixin selector named polygonsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;polygons:Ljava/util/List;intermediary field_63610Lnet/minecraft/class_12160;field_63610:Ljava/util/List;official cLicm;c:Ljava/util/List;
-
texts
- Mappings:
Namespace Name Mixin selector named textsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;texts:Ljava/util/List;intermediary field_63611Lnet/minecraft/class_12160;field_63611:Ljava/util/List;official dLicm;d:Ljava/util/List;
-
point
- Mappings:
Namespace Name Mixin selector named pointLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;point:Ljava/util/List;intermediary field_63612Lnet/minecraft/class_12160;field_63612:Ljava/util/List;official eLicm;e:Ljava/util/List;
-
-
Constructor Details
-
GizmoDrawerImpl
public GizmoDrawerImpl()
-
-
Method Details
-
addPoint
- Specified by:
addPointin interfaceGizmoDrawer- Mappings:
Namespace Name Mixin selector named addPointLnet/minecraft/world/debug/gizmo/GizmoDrawer;addPoint(Lnet/minecraft/util/math/Vec3d;IF)Vintermediary method_75472Lnet/minecraft/class_12177;method_75472(Lnet/minecraft/class_243;IF)Vofficial aLuk;a(Lfrz;IF)V
-
addLine
- Specified by:
addLinein interfaceGizmoDrawer- Mappings:
Namespace Name Mixin selector named addLineLnet/minecraft/world/debug/gizmo/GizmoDrawer;addLine(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;IF)Vintermediary method_75473Lnet/minecraft/class_12177;method_75473(Lnet/minecraft/class_243;Lnet/minecraft/class_243;IF)Vofficial aLuk;a(Lfrz;Lfrz;IF)V
-
addPolygon
- Specified by:
addPolygonin interfaceGizmoDrawer- Mappings:
Namespace Name Mixin selector named addPolygonLnet/minecraft/world/debug/gizmo/GizmoDrawer;addPolygon([Lnet/minecraft/util/math/Vec3d;I)Vintermediary method_75478Lnet/minecraft/class_12177;method_75478([Lnet/minecraft/class_243;I)Vofficial aLuk;a([Lfrz;I)V
-
addQuad
- Specified by:
addQuadin interfaceGizmoDrawer- Mappings:
Namespace Name Mixin selector named addQuadLnet/minecraft/world/debug/gizmo/GizmoDrawer;addQuad(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;I)Vintermediary method_75474Lnet/minecraft/class_12177;method_75474(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;I)Vofficial aLuk;a(Lfrz;Lfrz;Lfrz;Lfrz;I)V
-
addText
- Specified by:
addTextin interfaceGizmoDrawer- Mappings:
Namespace Name Mixin selector named addTextLnet/minecraft/world/debug/gizmo/GizmoDrawer;addText(Lnet/minecraft/util/math/Vec3d;Ljava/lang/String;Lnet/minecraft/world/debug/gizmo/TextGizmo$Style;)Vintermediary method_75475Lnet/minecraft/class_12177;method_75475(Lnet/minecraft/class_243;Ljava/lang/String;Lnet/minecraft/class_12187$class_12188;)Vofficial aLuk;a(Lfrz;Ljava/lang/String;Lus$a;)V
-
draw
public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f) - Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;Lorg/joml/Matrix4f;)Vintermediary method_75477Lnet/minecraft/class_12160;method_75477(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)Vofficial aLicm;a(Lfxu;Lhka;Liga;Lorg/joml/Matrix4f;)V
-
method_75476
private void method_75476(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named method_75476Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;method_75476(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_75476Lnet/minecraft/class_12160;method_75476(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial aLicm;a(Lfxu;Lhka;Liga;)V
-
method_75480
private void method_75480(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f) - Mappings:
Namespace Name Mixin selector named method_75480Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;method_75480(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;Lorg/joml/Matrix4f;)Vintermediary method_75480Lnet/minecraft/class_12160;method_75480(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)Vofficial bLicm;b(Lfxu;Lhka;Liga;Lorg/joml/Matrix4f;)V
-
drawPolygons
private void drawPolygons(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named drawPolygonsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawPolygons(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_75479Lnet/minecraft/class_12160;method_75479(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial bLicm;b(Lfxu;Lhka;Liga;)V
-
drawQuads
private void drawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named drawQuadsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_75481Lnet/minecraft/class_12160;method_75481(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial cLicm;c(Lfxu;Lhka;Liga;)V
-
drawPoints
private void drawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named drawPointsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawPoints(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_75482Lnet/minecraft/class_12160;method_75482(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial dLicm;d(Lfxu;Lhka;Liga;)V
-