Package net.minecraft.world.debug.gizmo
Record Class QuadGizmo
java.lang.Object
java.lang.Record
net.minecraft.world.debug.gizmo.QuadGizmo
- Record Components:
a-b-c-d-style-
- All Implemented Interfaces:
Gizmo
public record QuadGizmo(Vec3d a, Vec3d b, Vec3d c, Vec3d d, DrawStyle style)
extends Record
implements Gizmo
- Mappings:
Namespace Name named net/minecraft/world/debug/gizmo/QuadGizmointermediary net/minecraft/class_12184official uunamed aintermediary comp_5110official anamed bintermediary comp_5111official bnamed cintermediary comp_5112official cnamed dintermediary comp_5113official dnamed styleintermediary comp_5114official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Vec3dThe field for thearecord component.private final Vec3dThe field for thebrecord component.private final Vec3dThe field for thecrecord component.private final Vec3dThe field for thedrecord component.private final DrawStyleThe field for thestylerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiona()Returns the value of thearecord component.b()Returns the value of thebrecord component.c()Returns the value of thecrecord component.d()Returns the value of thedrecord component.voiddraw(GizmoDrawer consumer, float float2) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static QuadGizmostyle()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
ofFace
- Mappings:
Namespace Name Mixin selector named ofFaceLnet/minecraft/world/debug/gizmo/QuadGizmo;ofFace(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/DrawStyle;)Lnet/minecraft/world/debug/gizmo/QuadGizmo;intermediary method_75557Lnet/minecraft/class_12184;method_75557(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_12179;)Lnet/minecraft/class_12184;official aLuu;a(Lfrd;Lfrd;Ljf;Luq;)Luu;
-
draw
- Specified by:
drawin interfaceGizmo- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/world/debug/gizmo/Gizmo;draw(Lnet/minecraft/world/debug/gizmo/GizmoDrawer;F)Vintermediary method_75531Lnet/minecraft/class_12175;method_75531(Lnet/minecraft/class_12177;F)Vofficial aLum;a(Luo;F)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. All components in this record class are compared withObjects::equals(Object,Object). -
a
Returns the value of thearecord component.- Returns:
- the value of the
arecord component
-
b
Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
c
Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-