Class GizmoDrawerImpl

java.lang.Object
net.minecraft.client.render.gizmo.GizmoDrawerImpl
All Implemented Interfaces:
GizmoDrawer

@Environment(CLIENT) public class GizmoDrawerImpl extends Object implements GizmoDrawer
Mappings:
Namespace Name
named net/minecraft/client/render/gizmo/GizmoDrawerImpl
intermediary net/minecraft/class_12160
official ibs
  • Field Details

    • lines

      private final List<GizmoDrawerImpl.Line> lines
      Mappings:
      Namespace Name Mixin selector
      named lines Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;lines:Ljava/util/List;
      intermediary field_63608 Lnet/minecraft/class_12160;field_63608:Ljava/util/List;
      official a Libs;a:Ljava/util/List;
    • quads

      private final List<GizmoDrawerImpl.Quad> quads
      Mappings:
      Namespace Name Mixin selector
      named quads Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;quads:Ljava/util/List;
      intermediary field_63609 Lnet/minecraft/class_12160;field_63609:Ljava/util/List;
      official b Libs;b:Ljava/util/List;
    • polygons

      private final List<GizmoDrawerImpl.Polygon> polygons
      Mappings:
      Namespace Name Mixin selector
      named polygons Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;polygons:Ljava/util/List;
      intermediary field_63610 Lnet/minecraft/class_12160;field_63610:Ljava/util/List;
      official c Libs;c:Ljava/util/List;
    • texts

      private final List<GizmoDrawerImpl.Text> texts
      Mappings:
      Namespace Name Mixin selector
      named texts Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;texts:Ljava/util/List;
      intermediary field_63611 Lnet/minecraft/class_12160;field_63611:Ljava/util/List;
      official d Libs;d:Ljava/util/List;
    • point

      private final List<GizmoDrawerImpl.Point> point
      Mappings:
      Namespace Name Mixin selector
      named point Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;point:Ljava/util/List;
      intermediary field_63612 Lnet/minecraft/class_12160;field_63612:Ljava/util/List;
      official e Libs;e:Ljava/util/List;
  • Constructor Details

    • GizmoDrawerImpl

      public GizmoDrawerImpl()
  • Method Details

    • addPoint

      public void addPoint(Vec3d pos, int color, float size)
      Specified by:
      addPoint in interface GizmoDrawer
      Mappings:
      Namespace Name Mixin selector
      named addPoint Lnet/minecraft/world/debug/gizmo/GizmoDrawer;addPoint(Lnet/minecraft/util/math/Vec3d;IF)V
      intermediary method_75472 Lnet/minecraft/class_12177;method_75472(Lnet/minecraft/class_243;IF)V
      official a Luo;a(Lfrd;IF)V
    • addLine

      public void addLine(Vec3d start, Vec3d end, int color, float width)
      Specified by:
      addLine in interface GizmoDrawer
      Mappings:
      Namespace Name Mixin selector
      named addLine Lnet/minecraft/world/debug/gizmo/GizmoDrawer;addLine(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;IF)V
      intermediary method_75473 Lnet/minecraft/class_12177;method_75473(Lnet/minecraft/class_243;Lnet/minecraft/class_243;IF)V
      official a Luo;a(Lfrd;Lfrd;IF)V
    • addPolygon

      public void addPolygon(Vec3d[] vertices, int color)
      Specified by:
      addPolygon in interface GizmoDrawer
      Mappings:
      Namespace Name Mixin selector
      named addPolygon Lnet/minecraft/world/debug/gizmo/GizmoDrawer;addPolygon([Lnet/minecraft/util/math/Vec3d;I)V
      intermediary method_75478 Lnet/minecraft/class_12177;method_75478([Lnet/minecraft/class_243;I)V
      official a Luo;a([Lfrd;I)V
    • addQuad

      public void addQuad(Vec3d a, Vec3d b, Vec3d c, Vec3d d, int color)
      Specified by:
      addQuad in interface GizmoDrawer
      Mappings:
      Namespace Name Mixin selector
      named addQuad Lnet/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)V
      intermediary method_75474 Lnet/minecraft/class_12177;method_75474(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;I)V
      official a Luo;a(Lfrd;Lfrd;Lfrd;Lfrd;I)V
    • addText

      public void addText(Vec3d pos, String text, TextGizmo.Style style)
      Specified by:
      addText in interface GizmoDrawer
      Mappings:
      Namespace Name Mixin selector
      named addText Lnet/minecraft/world/debug/gizmo/GizmoDrawer;addText(Lnet/minecraft/util/math/Vec3d;Ljava/lang/String;Lnet/minecraft/world/debug/gizmo/TextGizmo$Style;)V
      intermediary method_75475 Lnet/minecraft/class_12177;method_75475(Lnet/minecraft/class_243;Ljava/lang/String;Lnet/minecraft/class_12187$class_12188;)V
      official a Luo;a(Lfrd;Ljava/lang/String;Luw$a;)V
    • draw

      public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/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;)V
      intermediary method_75477 Lnet/minecraft/class_12160;method_75477(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)V
      official a Libs;a(Lfwz;Lhje;Liez;Lorg/joml/Matrix4f;)V
    • method_75476

      private void method_75476(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named method_75476 Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;method_75476(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_75476 Lnet/minecraft/class_12160;method_75476(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official a Libs;a(Lfwz;Lhje;Liez;)V
    • method_75480

      private void method_75480(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f matrix4f)
      Mappings:
      Namespace Name Mixin selector
      named method_75480 Lnet/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;)V
      intermediary method_75480 Lnet/minecraft/class_12160;method_75480(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)V
      official b Libs;b(Lfwz;Lhje;Liez;Lorg/joml/Matrix4f;)V
    • drawPolygons

      private void drawPolygons(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawPolygons Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawPolygons(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_75479 Lnet/minecraft/class_12160;method_75479(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official b Libs;b(Lfwz;Lhje;Liez;)V
    • drawQuads

      private void drawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawQuads Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_75481 Lnet/minecraft/class_12160;method_75481(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official c Libs;c(Lfwz;Lhje;Liez;)V
    • drawPoints

      private void drawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawPoints Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;drawPoints(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_75482 Lnet/minecraft/class_12160;method_75482(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official d Libs;d(Lfwz;Lhje;Liez;)V