Record Class GizmoFeatureRenderer.Submit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.feature.GizmoFeatureRenderer.Submit
- All Implemented Interfaces:
SubmitNode
- Enclosing class:
GizmoFeatureRenderer
public static record GizmoFeatureRenderer.Submit(DrawableGizmoPrimitives.Group group, CameraRenderState camera)
extends Record
implements SubmitNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CameraRenderStateThe field for thecamerarecord component.private final DrawableGizmoPrimitives.GroupThe field for thegrouprecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSubmit(DrawableGizmoPrimitives.Group group, CameraRenderState camera) Creates an instance of aSubmitrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncamera()Returns the value of thecamerarecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
group
The field for thegrouprecord component. -
camera
The field for thecamerarecord component.
-
-
Constructor Details
-
Submit
Creates an instance of aSubmitrecord class.- Parameters:
group- the value for thegrouprecord componentcamera- the value for thecamerarecord component
-
-
Method Details
-
featureType
- Specified by:
featureTypein interfaceSubmitNode
-
toString
-
hashCode
-
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). -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
camera
Returns the value of thecamerarecord component.- Returns:
- the value of the
camerarecord component
-