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/EntityDebugInfo
intermediary net/minecraft/class_10934
official hfw
named missing
intermediary comp_3865
official a
named serverEntityX
intermediary comp_3866
official b
named serverEntityY
intermediary comp_3867
official c
named serverEntityZ
intermediary comp_3868
official d
named deltaMovementX
intermediary comp_3869
official e
named deltaMovementY
intermediary comp_3870
official f
named deltaMovementZ
intermediary comp_3871
official g
named eyeHeight
intermediary comp_3872
official h
named hitboxes
intermediary comp_3873
official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double
The field for thedeltaMovementX
record component.private final double
The field for thedeltaMovementY
record component.private final double
The field for thedeltaMovementZ
record component.private final float
The field for theeyeHeight
record component.private final @Nullable EntityHitboxAndView
The field for thehitboxes
record component.private final boolean
The field for themissing
record component.private final double
The field for theserverEntityX
record component.private final double
The field for theserverEntityY
record component.private final double
The field for theserverEntityZ
record 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 TypeMethodDescriptiondouble
Returns the value of thedeltaMovementX
record component.double
Returns the value of thedeltaMovementY
record component.double
Returns the value of thedeltaMovementZ
record component.final boolean
Indicates whether some other object is "equal to" this one.float
Returns the value of theeyeHeight
record component.final int
hashCode()
Returns a hash code value for this object.hitboxes()
Returns the value of thehitboxes
record component.boolean
missing()
Returns the value of themissing
record component.double
Returns the value of theserverEntityX
record component.double
Returns the value of theserverEntityY
record component.double
Returns the value of theserverEntityZ
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
missing
private final boolean missingThe field for themissing
record component. -
serverEntityX
private final double serverEntityXThe field for theserverEntityX
record component. -
serverEntityY
private final double serverEntityYThe field for theserverEntityY
record component. -
serverEntityZ
private final double serverEntityZThe field for theserverEntityZ
record component. -
deltaMovementX
private final double deltaMovementXThe field for thedeltaMovementX
record component. -
deltaMovementY
private final double deltaMovementYThe field for thedeltaMovementY
record component. -
deltaMovementZ
private final double deltaMovementZThe field for thedeltaMovementZ
record component. -
eyeHeight
private final float eyeHeightThe field for theeyeHeight
record component. -
hitboxes
The field for thehitboxes
record component.
-
-
Constructor Details
-
EntityDebugInfo
public EntityDebugInfo(boolean missing) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/state/EntityDebugInfo;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_10934;<init>(Z)V
official <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 themissing
record component.- Returns:
- the value of the
missing
record component
-
serverEntityX
public double serverEntityX()Returns the value of theserverEntityX
record component.- Returns:
- the value of the
serverEntityX
record component
-
serverEntityY
public double serverEntityY()Returns the value of theserverEntityY
record component.- Returns:
- the value of the
serverEntityY
record component
-
serverEntityZ
public double serverEntityZ()Returns the value of theserverEntityZ
record component.- Returns:
- the value of the
serverEntityZ
record component
-
deltaMovementX
public double deltaMovementX()Returns the value of thedeltaMovementX
record component.- Returns:
- the value of the
deltaMovementX
record component
-
deltaMovementY
public double deltaMovementY()Returns the value of thedeltaMovementY
record component.- Returns:
- the value of the
deltaMovementY
record component
-
deltaMovementZ
public double deltaMovementZ()Returns the value of thedeltaMovementZ
record component.- Returns:
- the value of the
deltaMovementZ
record component
-
eyeHeight
public float eyeHeight()Returns the value of theeyeHeight
record component.- Returns:
- the value of the
eyeHeight
record component
-
hitboxes
Returns the value of thehitboxes
record component.- Returns:
- the value of the
hitboxes
record component
-