Record Class OrderedRenderCommandQueueImpl.DebugHitboxCommand
java.lang.Object
java.lang.Record
net.minecraft.client.render.command.OrderedRenderCommandQueueImpl.DebugHitboxCommand
- Record Components:
pose-renderState-debugHitbox-
- Enclosing class:
OrderedRenderCommandQueueImpl
@Environment(CLIENT)
public static record OrderedRenderCommandQueueImpl.DebugHitboxCommand(Matrix4f pose, EntityRenderState renderState, EntityHitboxAndView debugHitbox)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/command/OrderedRenderCommandQueueImpl$DebugHitboxCommandintermediary net/minecraft/class_11661$class_11667official hgz$enamed poseintermediary comp_4495official anamed renderStateintermediary comp_4496official bnamed debugHitboxintermediary comp_4497official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntityHitboxAndViewThe field for thedebugHitboxrecord component.private final Matrix4fThe field for theposerecord component.private final EntityRenderStateThe field for therenderStaterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDebugHitboxCommand(Matrix4f matrix4f, EntityRenderState entityRenderState, EntityHitboxAndView entityHitboxAndView) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedebugHitboxrecord 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.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. -
debugHitbox
The field for thedebugHitboxrecord component.
-
-
Constructor Details
-
DebugHitboxCommand
public DebugHitboxCommand(Matrix4f matrix4f, EntityRenderState entityRenderState, EntityHitboxAndView entityHitboxAndView)
-
-
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
-
debugHitbox
Returns the value of thedebugHitboxrecord component.- Returns:
- the value of the
debugHitboxrecord component
-