Record Class OrderedRenderCommandQueueImpl.ShadowPiecesCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.ShadowPiecesCommand
- Record Components:
matricesEntry-radius-pieces-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.ShadowPiecesCommand(Matrix4f matricesEntry, float radius, List<EntityRenderState.ShadowPiece> pieces)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$ShadowPiecesCommandintermediary net/minecraft/class_11661$class_11673official hgz$lnamed matricesEntryintermediary comp_4522official anamed radiusintermediary comp_4523official bnamed piecesintermediary comp_4524official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Matrix4fThe field for thematricesEntryrecord component.private final List<EntityRenderState.ShadowPiece> The field for thepiecesrecord component.private final floatThe field for theradiusrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionShadowPiecesCommand(Matrix4f matrix4f, float float2, List<EntityRenderState.ShadowPiece> list) -
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.Returns the value of thematricesEntryrecord component.pieces()Returns the value of thepiecesrecord component.floatradius()Returns the value of theradiusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
matricesEntry
The field for thematricesEntryrecord component. -
radius
private final float radiusThe field for theradiusrecord component. -
pieces
The field for thepiecesrecord component.
-
-
Constructor Details
-
ShadowPiecesCommand
public ShadowPiecesCommand(Matrix4f matrix4f, float float2, List<EntityRenderState.ShadowPiece> list)
-
-
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 '=='. -
matricesEntry
Returns the value of thematricesEntryrecord component.- Returns:
- the value of the
matricesEntryrecord 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
-