Record Class SubmitNodeStorage.CustomGeometrySubmit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.SubmitNodeStorage.CustomGeometrySubmit
- Enclosing class:
SubmitNodeStorage
public static record SubmitNodeStorage.CustomGeometrySubmit(PoseStack.Pose pose, SubmitNodeCollector.CustomGeometryRenderer customGeometryRenderer)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SubmitNodeCollector.CustomGeometryRendererThe field for thecustomGeometryRendererrecord component.private final PoseStack.PoseThe field for theposerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCustomGeometrySubmit(PoseStack.Pose pose, SubmitNodeCollector.CustomGeometryRenderer customGeometryRenderer) Creates an instance of aCustomGeometrySubmitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecustomGeometryRendererrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pose()Returns the value of theposerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord component. -
customGeometryRenderer
The field for thecustomGeometryRendererrecord component.
-
-
Constructor Details
-
CustomGeometrySubmit
public CustomGeometrySubmit(PoseStack.Pose pose, SubmitNodeCollector.CustomGeometryRenderer customGeometryRenderer) Creates an instance of aCustomGeometrySubmitrecord class.- Parameters:
pose- the value for theposerecord componentcustomGeometryRenderer- the value for thecustomGeometryRendererrecord component
-
-
Method Details
-
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). -
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
customGeometryRenderer
Returns the value of thecustomGeometryRendererrecord component.- Returns:
- the value of the
customGeometryRendererrecord component
-