Package net.minecraft
Record Class class_10182
java.lang.Object
java.lang.Record
net.minecraft.class_10182
- Record Components:
position-deltaMovement-yRot-xRot-
public record class_10182(Vec3d position, Vec3d deltaMovement, float yRot, float xRot)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10182intermediary net/minecraft/class_10182official bvinamed positionintermediary comp_3148official anamed deltaMovementintermediary comp_3149official bnamed yRotintermediary comp_3150official cnamed xRotintermediary comp_3151official d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeltaMovementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static doublemethod_63636(double double2, double double3, Set<PositionFlag> set, PositionFlag positionFlag) static class_10182method_63637(PlayerPositionLookS2CPacket playerPositionLookS2CPacket) static class_10182method_63638(Entity entity) static class_10182method_63639(class_10182 class_10182, class_10182 class_101822, Set<PositionFlag> set) static class_10182method_63640(TeleportTarget teleportTarget) position()Returns the value of thepositionrecord component.final StringtoString()Returns a string representation of this record class.floatxRot()Returns the value of thexRotrecord component.floatyRot()Returns the value of theyRotrecord component.
-
Field Details
-
position
The field for thepositionrecord component. -
deltaMovement
The field for thedeltaMovementrecord component. -
yRot
private final float yRotThe field for theyRotrecord component. -
xRot
private final float xRotThe field for thexRotrecord component.
-
-
Constructor Details
-
class_10182
-
-
Method Details
-
method_63638
- Mappings:
Namespace Name Mixin selector named method_63638Lnet/minecraft/class_10182;method_63638(Lnet/minecraft/entity/Entity;)Lnet/minecraft/class_10182;intermediary method_63638Lnet/minecraft/class_10182;method_63638(Lnet/minecraft/class_1297;)Lnet/minecraft/class_10182;official aLbvi;a(Lbtz;)Lbvi;
-
method_63637
- Mappings:
Namespace Name Mixin selector named method_63637Lnet/minecraft/class_10182;method_63637(Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;)Lnet/minecraft/class_10182;intermediary method_63637Lnet/minecraft/class_10182;method_63637(Lnet/minecraft/class_2708;)Lnet/minecraft/class_10182;official aLbvi;a(Laem;)Lbvi;
-
method_63640
- Mappings:
Namespace Name Mixin selector named method_63640Lnet/minecraft/class_10182;method_63640(Lnet/minecraft/world/TeleportTarget;)Lnet/minecraft/class_10182;intermediary method_63640Lnet/minecraft/class_10182;method_63640(Lnet/minecraft/class_5454;)Lnet/minecraft/class_10182;official aLbvi;a(Lesc;)Lbvi;
-
method_63639
public static class_10182 method_63639(class_10182 class_10182, class_10182 class_101822, Set<PositionFlag> set) - Mappings:
Namespace Name Mixin selector named method_63639Lnet/minecraft/class_10182;method_63639(Lnet/minecraft/class_10182;Lnet/minecraft/class_10182;Ljava/util/Set;)Lnet/minecraft/class_10182;intermediary method_63639Lnet/minecraft/class_10182;method_63639(Lnet/minecraft/class_10182;Lnet/minecraft/class_10182;Ljava/util/Set;)Lnet/minecraft/class_10182;official aLbvi;a(Lbvi;Lbvi;Ljava/util/Set;)Lbvi;
-
method_63636
private static double method_63636(double double2, double double3, Set<PositionFlag> set, PositionFlag positionFlag) - Mappings:
Namespace Name Mixin selector named method_63636Lnet/minecraft/class_10182;method_63636(DDLjava/util/Set;Lnet/minecraft/network/packet/s2c/play/PositionFlag;)Dintermediary method_63636Lnet/minecraft/class_10182;method_63636(DDLjava/util/Set;Lnet/minecraft/class_2709;)Dofficial aLbvi;a(DDLjava/util/Set;Lbvj;)D
-
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 '=='. -
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
deltaMovement
Returns the value of thedeltaMovementrecord component.- Returns:
- the value of the
deltaMovementrecord component
-
yRot
public float yRot()Returns the value of theyRotrecord component.- Returns:
- the value of the
yRotrecord component
-
xRot
public float xRot()Returns the value of thexRotrecord component.- Returns:
- the value of the
xRotrecord component
-