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 ihb
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final recordprivate static final recordprivate static final recordprivate static final recordprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final GizmoDrawerImpl.Divisionprivate final GizmoDrawerImpl.Division -
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 posMatrix) private GizmoDrawerImpl.DivisiongetDivision(int color) booleanisEmpty()
-
Field Details
-
opaque
- Mappings:
Namespace Name Mixin selector named opaqueLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;opaque:Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;intermediary field_64588Lnet/minecraft/class_12160;field_64588:Lnet/minecraft/class_12160$class_12355;official aLihb;a:Lihb$a;
-
transparent
- Mappings:
Namespace Name Mixin selector named transparentLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;transparent:Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;intermediary field_64589Lnet/minecraft/class_12160;field_64589:Lnet/minecraft/class_12160$class_12355;official bLihb;b:Lihb$a;
-
empty
private boolean empty- Mappings:
Namespace Name Mixin selector named emptyLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;empty:Zintermediary field_64590Lnet/minecraft/class_12160;field_64590:Zofficial cLihb;c:Z
-
-
Constructor Details
-
GizmoDrawerImpl
public GizmoDrawerImpl()
-
-
Method Details
-
getDivision
- Mappings:
Namespace Name Mixin selector named getDivisionLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;getDivision(I)Lnet/minecraft/client/render/gizmo/GizmoDrawerImpl$Division;intermediary method_76660Lnet/minecraft/class_12160;method_76660(I)Lnet/minecraft/class_12160$class_12355;official aLihb;a(I)Lihb$a;
-
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 aLuj;a(Lftm;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 aLuj;a(Lftm;Lftm;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 aLuj;a([Lftm;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 aLuj;a(Lftm;Lftm;Lftm;Lftm;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 aLuj;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 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 aLihb;a(Lfzm;Lhon;Likp;Lorg/joml/Matrix4f;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/client/render/gizmo/GizmoDrawerImpl;isEmpty()Zintermediary method_76659Lnet/minecraft/class_12160;method_76659()Zofficial aLihb;a()Z
-