Record Class GizmoDrawerImpl.Division

java.lang.Object
java.lang.Record
net.minecraft.client.render.gizmo.GizmoDrawerImpl.Division
Record Components:
opaque -
lines -
quads -
triangleFans -
texts -
points -
Enclosing class:
GizmoDrawerImpl

@Environment(CLIENT) private static record GizmoDrawerImpl.Division(boolean opaque, List<GizmoDrawerImpl.Line> lines, List<GizmoDrawerImpl.Quad> quads, List<GizmoDrawerImpl.Polygon> triangleFans, List<GizmoDrawerImpl.Text> texts, List<GizmoDrawerImpl.Point> points) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/gizmo/GizmoDrawerImpl$Division
intermediary net/minecraft/class_12160$class_12355
official ihb$a
named opaque
intermediary comp_5253
official a
named lines
intermediary comp_5254
official b
named quads
intermediary comp_5255
official c
named triangleFans
intermediary comp_5256
official d
named texts
intermediary comp_5257
official e
named points
intermediary comp_5258
official f
  • Field Details

  • Constructor Details

    • Division

      Division(boolean opaque)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_12160$class_12355;<init>(Z)V
      official <init> Lihb$a;<init>(Z)V
    • Division

      private Division(boolean opaque, List<GizmoDrawerImpl.Line> lines, List<GizmoDrawerImpl.Quad> quads, List<GizmoDrawerImpl.Polygon> triangleFans, List<GizmoDrawerImpl.Text> texts, List<GizmoDrawerImpl.Point> points)
      Creates an instance of a Division record class.
      Parameters:
      opaque - the value for the opaque record component
      lines - the value for the lines record component
      quads - the value for the quads record component
      triangleFans - the value for the triangleFans record component
      texts - the value for the texts record component
      points - the value for the points record component
  • Method Details

    • 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$Division;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;Lorg/joml/Matrix4f;)V
      intermediary method_76662 Lnet/minecraft/class_12160$class_12355;method_76662(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)V
      official a Lihb$a;a(Lfzm;Lhon;Likp;Lorg/joml/Matrix4f;)V
    • drawText

      private void drawText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawText(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_76661 Lnet/minecraft/class_12160$class_12355;method_76661(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official a Lihb$a;a(Lfzm;Lhon;Likp;)V
    • drawLines

      private void drawLines(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix)
      Mappings:
      Namespace Name Mixin selector
      named drawLines Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawLines(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;Lorg/joml/Matrix4f;)V
      intermediary method_76664 Lnet/minecraft/class_12160$class_12355;method_76664(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)V
      official b Lihb$a;b(Lfzm;Lhon;Likp;Lorg/joml/Matrix4f;)V
    • drawTriangleFans

      private void drawTriangleFans(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawTriangleFans Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawTriangleFans(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_76663 Lnet/minecraft/class_12160$class_12355;method_76663(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official b Lihb$a;b(Lfzm;Lhon;Likp;)V
    • drawQuads

      private void drawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawQuads Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_76665 Lnet/minecraft/class_12160$class_12355;method_76665(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official c Lihb$a;c(Lfzm;Lhon;Likp;)V
    • drawPoints

      private void drawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState)
      Mappings:
      Namespace Name Mixin selector
      named drawPoints Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawPoints(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)V
      intermediary method_76666 Lnet/minecraft/class_12160$class_12355;method_76666(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)V
      official d Lihb$a;d(Lfzm;Lhon;Likp;)V
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • opaque

      public boolean opaque()
      Returns the value of the opaque record component.
      Returns:
      the value of the opaque record component
    • lines

      public List<GizmoDrawerImpl.Line> lines()
      Returns the value of the lines record component.
      Returns:
      the value of the lines record component
    • quads

      public List<GizmoDrawerImpl.Quad> quads()
      Returns the value of the quads record component.
      Returns:
      the value of the quads record component
    • triangleFans

      public List<GizmoDrawerImpl.Polygon> triangleFans()
      Returns the value of the triangleFans record component.
      Returns:
      the value of the triangleFans record component
    • texts

      public List<GizmoDrawerImpl.Text> texts()
      Returns the value of the texts record component.
      Returns:
      the value of the texts record component
    • points

      public List<GizmoDrawerImpl.Point> points()
      Returns the value of the points record component.
      Returns:
      the value of the points record component