Record Class EntityDebugInfo
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.state.EntityDebugInfo
- Record Components:
missing-serverEntityX-serverEntityY-serverEntityZ-deltaMovementX-deltaMovementY-deltaMovementZ-eyeHeight-hitboxes-
@Environment(CLIENT)
public record EntityDebugInfo(boolean missing, double serverEntityX, double serverEntityY, double serverEntityZ, double deltaMovementX, double deltaMovementY, double deltaMovementZ, float eyeHeight, @Nullable EntityHitboxAndView hitboxes)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/state/EntityDebugInfointermediary net/minecraft/class_10934official hfwnamed missingintermediary comp_3865official anamed serverEntityXintermediary comp_3866official bnamed serverEntityYintermediary comp_3867official cnamed serverEntityZintermediary comp_3868official dnamed deltaMovementXintermediary comp_3869official enamed deltaMovementYintermediary comp_3870official fnamed deltaMovementZintermediary comp_3871official gnamed eyeHeightintermediary comp_3872official hnamed hitboxesintermediary comp_3873official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleThe field for thedeltaMovementXrecord component.private final doubleThe field for thedeltaMovementYrecord component.private final doubleThe field for thedeltaMovementZrecord component.private final floatThe field for theeyeHeightrecord component.private final @Nullable EntityHitboxAndViewThe field for thehitboxesrecord component.private final booleanThe field for themissingrecord component.private final doubleThe field for theserverEntityXrecord component.private final doubleThe field for theserverEntityYrecord component.private final doubleThe field for theserverEntityZrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionEntityDebugInfo(boolean missing) EntityDebugInfo(boolean bool, double double2, double double3, double double4, double double5, double double6, double double7, float float2, @Nullable EntityHitboxAndView entityHitboxAndView) -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thedeltaMovementXrecord component.doubleReturns the value of thedeltaMovementYrecord component.doubleReturns the value of thedeltaMovementZrecord component.final booleanIndicates whether some other object is "equal to" this one.floatReturns the value of theeyeHeightrecord component.final inthashCode()Returns a hash code value for this object.hitboxes()Returns the value of thehitboxesrecord component.booleanmissing()Returns the value of themissingrecord component.doubleReturns the value of theserverEntityXrecord component.doubleReturns the value of theserverEntityYrecord component.doubleReturns the value of theserverEntityZrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
missing
private final boolean missingThe field for themissingrecord component. -
serverEntityX
private final double serverEntityXThe field for theserverEntityXrecord component. -
serverEntityY
private final double serverEntityYThe field for theserverEntityYrecord component. -
serverEntityZ
private final double serverEntityZThe field for theserverEntityZrecord component. -
deltaMovementX
private final double deltaMovementXThe field for thedeltaMovementXrecord component. -
deltaMovementY
private final double deltaMovementYThe field for thedeltaMovementYrecord component. -
deltaMovementZ
private final double deltaMovementZThe field for thedeltaMovementZrecord component. -
eyeHeight
private final float eyeHeightThe field for theeyeHeightrecord component. -
hitboxes
The field for thehitboxesrecord component.
-
-
Constructor Details
-
EntityDebugInfo
public EntityDebugInfo(boolean missing) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/state/EntityDebugInfo;<init>(Z)Vintermediary <init>Lnet/minecraft/class_10934;<init>(Z)Vofficial <init>Lhfw;<init>(Z)V
-
EntityDebugInfo
public EntityDebugInfo(boolean bool, double double2, double double3, double double4, double double5, double double6, double double7, float float2, @Nullable @Nullable 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
missing
public boolean missing()Returns the value of themissingrecord component.- Returns:
- the value of the
missingrecord component
-
serverEntityX
public double serverEntityX()Returns the value of theserverEntityXrecord component.- Returns:
- the value of the
serverEntityXrecord component
-
serverEntityY
public double serverEntityY()Returns the value of theserverEntityYrecord component.- Returns:
- the value of the
serverEntityYrecord component
-
serverEntityZ
public double serverEntityZ()Returns the value of theserverEntityZrecord component.- Returns:
- the value of the
serverEntityZrecord component
-
deltaMovementX
public double deltaMovementX()Returns the value of thedeltaMovementXrecord component.- Returns:
- the value of the
deltaMovementXrecord component
-
deltaMovementY
public double deltaMovementY()Returns the value of thedeltaMovementYrecord component.- Returns:
- the value of the
deltaMovementYrecord component
-
deltaMovementZ
public double deltaMovementZ()Returns the value of thedeltaMovementZrecord component.- Returns:
- the value of the
deltaMovementZrecord component
-
eyeHeight
public float eyeHeight()Returns the value of theeyeHeightrecord component.- Returns:
- the value of the
eyeHeightrecord component
-
hitboxes
Returns the value of thehitboxesrecord component.- Returns:
- the value of the
hitboxesrecord component
-