Record Class SubmitNodeStorage.ShadowSubmit
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.SubmitNodeStorage.ShadowSubmit
- Enclosing class:
SubmitNodeStorage
public static record SubmitNodeStorage.ShadowSubmit(org.joml.Matrix4fc pose, float radius, List<EntityRenderState.ShadowPiece> pieces)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<EntityRenderState.ShadowPiece> The field for thepiecesrecord component.private final org.joml.Matrix4fcThe field for theposerecord component.private final floatThe field for theradiusrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionShadowSubmit(org.joml.Matrix4fc 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.org.joml.Matrix4fcpose()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
private final org.joml.Matrix4fc poseThe field for theposerecord component. -
radius
private final float radiusThe field for theradiusrecord component. -
pieces
The field for thepiecesrecord component.
-
-
Constructor Details
-
ShadowSubmit
public ShadowSubmit(org.joml.Matrix4fc pose, float radius, List<EntityRenderState.ShadowPiece> pieces) 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
public org.joml.Matrix4fc 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
-