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$Divisionintermediary net/minecraft/class_12160$class_12355official ihb$anamed opaqueintermediary comp_5253official anamed linesintermediary comp_5254official bnamed quadsintermediary comp_5255official cnamed triangleFansintermediary comp_5256official dnamed textsintermediary comp_5257official enamed pointsintermediary comp_5258official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GizmoDrawerImpl.Line> The field for thelinesrecord component.private final booleanThe field for theopaquerecord component.private final List<GizmoDrawerImpl.Point> The field for thepointsrecord component.private final List<GizmoDrawerImpl.Quad> The field for thequadsrecord component.private final List<GizmoDrawerImpl.Text> The field for thetextsrecord component.private final List<GizmoDrawerImpl.Polygon> The field for thetriangleFansrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)Division(boolean opaque) privateDivision(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 aDivisionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix) private voiddrawLines(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix) private voiddrawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voiddrawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voiddrawText(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) private voiddrawTriangleFans(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lines()Returns the value of thelinesrecord component.booleanopaque()Returns the value of theopaquerecord component.points()Returns the value of thepointsrecord component.quads()Returns the value of thequadsrecord component.texts()Returns the value of thetextsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetriangleFansrecord component.
-
Field Details
-
opaque
private final boolean opaqueThe field for theopaquerecord component. -
lines
The field for thelinesrecord component. -
quads
The field for thequadsrecord component. -
triangleFans
The field for thetriangleFansrecord component. -
texts
The field for thetextsrecord component. -
points
The field for thepointsrecord component.
-
-
Constructor Details
-
Division
Division(boolean opaque) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;<init>(Z)Vintermediary <init>Lnet/minecraft/class_12160$class_12355;<init>(Z)Vofficial <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 aDivisionrecord class.- Parameters:
opaque- the value for theopaquerecord componentlines- the value for thelinesrecord componentquads- the value for thequadsrecord componenttriangleFans- the value for thetriangleFansrecord componenttexts- the value for thetextsrecord componentpoints- the value for thepointsrecord component
-
-
Method Details
-
draw
public void draw(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix) - Mappings:
Namespace Name Mixin selector named drawLnet/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;)Vintermediary method_76662Lnet/minecraft/class_12160$class_12355;method_76662(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)Vofficial aLihb$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 drawTextLnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawText(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_76661Lnet/minecraft/class_12160$class_12355;method_76661(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial aLihb$a;a(Lfzm;Lhon;Likp;)V
-
drawLines
private void drawLines(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState, Matrix4f posMatrix) - Mappings:
Namespace Name Mixin selector named drawLinesLnet/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;)Vintermediary method_76664Lnet/minecraft/class_12160$class_12355;method_76664(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;Lorg/joml/Matrix4f;)Vofficial bLihb$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 drawTriangleFansLnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawTriangleFans(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_76663Lnet/minecraft/class_12160$class_12355;method_76663(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial bLihb$a;b(Lfzm;Lhon;Likp;)V
-
drawQuads
private void drawQuads(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named drawQuadsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_76665Lnet/minecraft/class_12160$class_12355;method_76665(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial cLihb$a;c(Lfzm;Lhon;Likp;)V
-
drawPoints
private void drawPoints(MatrixStack matrices, VertexConsumerProvider vertexConsumers, CameraRenderState cameraRenderState) - Mappings:
Namespace Name Mixin selector named drawPointsLnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;drawPoints(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/state/CameraRenderState;)Vintermediary method_76666Lnet/minecraft/class_12160$class_12355;method_76666(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_12075;)Vofficial dLihb$a;d(Lfzm;Lhon;Likp;)V
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
opaque
public boolean opaque()Returns the value of theopaquerecord component.- Returns:
- the value of the
opaquerecord component
-
lines
Returns the value of thelinesrecord component.- Returns:
- the value of the
linesrecord component
-
quads
Returns the value of thequadsrecord component.- Returns:
- the value of the
quadsrecord component
-
triangleFans
Returns the value of thetriangleFansrecord component.- Returns:
- the value of the
triangleFansrecord component
-
texts
Returns the value of thetextsrecord component.- Returns:
- the value of the
textsrecord component
-
points
Returns the value of thepointsrecord component.- Returns:
- the value of the
pointsrecord component
-