Record Class GizmoDrawerImpl.Quad
java.lang.Object
java.lang.Record
net.minecraft.client.render.gizmo.GizmoDrawerImpl.Quad
- Record Components:
a-b-c-d-color-
- Enclosing class:
GizmoDrawerImpl
@Environment(CLIENT)
private static record GizmoDrawerImpl.Quad(Vec3d a, Vec3d b, Vec3d c, Vec3d d, int color)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/gizmo/GizmoDrawerImpl$Quadintermediary net/minecraft/class_12160$class_12163official ibs$cnamed aintermediary comp_5077official anamed bintermediary comp_5078official bnamed cintermediary comp_5079official cnamed dintermediary comp_5080official dnamed colorintermediary comp_5081official 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 intThe field for thecolorrecord component.private final Vec3dThe field for thedrecord 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.intcolor()Returns the value of thecolorrecord component.d()Returns the value of thedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
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 '=='. -
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
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-