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 ihb
  • Field Details

    • opaque

      private final GizmoDrawerImpl.Division opaque
      Mappings:
      Namespace Name Mixin selector
      named opaque Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;opaque:Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;
      intermediary field_64588 Lnet/minecraft/class_12160;field_64588:Lnet/minecraft/class_12160$class_12355;
      official a Lihb;a:Lihb$a;
    • transparent

      private final GizmoDrawerImpl.Division transparent
      Mappings:
      Namespace Name Mixin selector
      named transparent Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;transparent:Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;
      intermediary field_64589 Lnet/minecraft/class_12160;field_64589:Lnet/minecraft/class_12160$class_12355;
      official b Lihb;b:Lihb$a;
    • empty

      private boolean empty
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;empty:Z
      intermediary field_64590 Lnet/minecraft/class_12160;field_64590:Z
      official c Lihb;c:Z
  • Constructor Details

    • GizmoDrawerImpl

      public GizmoDrawerImpl()
  • Method Details

    • getDivision

      private GizmoDrawerImpl.Division getDivision(int color)
      Mappings:
      Namespace Name Mixin selector
      named getDivision Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;getDivision(I)Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;
      intermediary method_76660 Lnet/minecraft/class_12160;method_76660(I)Lnet/minecraft/class_12160$class_12355;
      official a Lihb;a(I)Lihb$a;
    • 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 Luj;a(Lftm;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 Luj;a(Lftm;Lftm;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 Luj;a([Lftm;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 Luj;a(Lftm;Lftm;Lftm;Lftm;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 Luj;a(Lftm;Ljava/lang/String;Lur$a;)V
    • draw

      public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix)
      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 Lihb;a(Lfzm;Lhon;Likp;Lorg/joml/Matrix4f;)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl;isEmpty()Z
      intermediary method_76659 Lnet/minecraft/class_12160;method_76659()Z
      official a Lihb;a()Z