Package net.minecraft
Record Class class_10934
java.lang.Object
java.lang.Record
net.minecraft.class_10934
- Record Components:
missing-serverEntityX-serverEntityY-serverEntityZ-deltaMovementX-deltaMovementY-deltaMovementZ-eyeHeight-hitboxes-
@Environment(CLIENT)
public record class_10934(boolean missing, double serverEntityX, double serverEntityY, double serverEntityZ, double deltaMovementX, double deltaMovementY, double deltaMovementZ, float eyeHeight, @Nullable class_10933 hitboxes)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10934intermediary 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 class_10933The 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
ConstructorsConstructorDescriptionclass_10934(boolean bool) class_10934(boolean bool, double double2, double double3, double double4, double double5, double double6, double double7, float float2, @Nullable class_10933 class_10933) -
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
-
class_10934
public class_10934(boolean bool) -
class_10934
public class_10934(boolean bool, double double2, double double3, double double4, double double5, double double6, double double7, float float2, @Nullable @Nullable class_10933 class_10933)
-
-
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
-