Record Class SubmitNodeStorage.ShadowSubmit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.SubmitNodeStorage.ShadowSubmit
- Enclosing class:
SubmitNodeStorage
public static record SubmitNodeStorage.ShadowSubmit(Matrix4f pose, float radius, List<EntityRenderState.ShadowPiece> pieces)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShadowSubmit(Matrix4f pose, float radius, List<EntityRenderState.ShadowPiece> pieces) Creates an instance of aShadowSubmitrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pieces()Returns the value of thepiecesrecord component.pose()Returns the value of theposerecord component.floatradius()Returns the value of theradiusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord component. -
radius
private final float radiusThe field for theradiusrecord component. -
pieces
The field for thepiecesrecord component.
-
-
Constructor Details
-
ShadowSubmit
Creates an instance of aShadowSubmitrecord class.- Parameters:
pose- the value for theposerecord componentradius- the value for theradiusrecord componentpieces- the value for thepiecesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pose
Returns the value of theposerecord component.- Returns:
- the value of the
poserecord component
-
radius
public float radius()Returns the value of theradiusrecord component.- Returns:
- the value of the
radiusrecord component
-
pieces
Returns the value of thepiecesrecord component.- Returns:
- the value of the
piecesrecord component
-