Record Class BatchingEntityRenderCommandQueue.FallingBlockCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.command.BatchingEntityRenderCommandQueue.FallingBlockCommand
- Record Components:
pose-renderState-
- Enclosing class:
BatchingEntityRenderCommandQueue
@Environment(CLIENT)
public static record BatchingEntityRenderCommandQueue.FallingBlockCommand(Matrix4f pose, FallingBlockEntityRenderState renderState)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/command/BatchingEntityRenderCommandQueue$FallingBlockCommandintermediary net/minecraft/class_11661$class_11665official hbp$dnamed poseintermediary comp_4490official anamed renderStateintermediary comp_4491official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Matrix4fThe field for theposerecord component.private final FallingBlockEntityRenderStateThe field for therenderStaterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFallingBlockCommand(Matrix4f matrix4f, FallingBlockEntityRenderState fallingBlockEntityRenderState) -
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.pose()Returns the value of theposerecord component.Returns the value of therenderStaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pose
The field for theposerecord component. -
renderState
The field for therenderStaterecord component.
-
-
Constructor Details
-
FallingBlockCommand
public FallingBlockCommand(Matrix4f matrix4f, FallingBlockEntityRenderState fallingBlockEntityRenderState)
-
-
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. 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
-
renderState
Returns the value of therenderStaterecord component.- Returns:
- the value of the
renderStaterecord component
-