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_10182
intermediary net/minecraft/class_10182
official bvi
named position
intermediary comp_3148
official a
named deltaMovement
intermediary comp_3149
official b
named yRot
intermediary comp_3150
official c
named xRot
intermediary comp_3151
official d
  • Field Details

    • position

      private final Vec3d position
      The field for the position record component.
    • deltaMovement

      private final Vec3d deltaMovement
      The field for the deltaMovement record component.
    • yRot

      private final float yRot
      The field for the yRot record component.
    • xRot

      private final float xRot
      The field for the xRot record component.
  • Constructor Details

    • class_10182

      public class_10182(Vec3d vec3d, Vec3d vec3d2, float float2, float float3)
  • Method Details

    • method_63638

      public static class_10182 method_63638(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named method_63638 Lnet/minecraft/class_10182;method_63638(Lnet/minecraft/entity/Entity;)Lnet/minecraft/class_10182;
      intermediary method_63638 Lnet/minecraft/class_10182;method_63638(Lnet/minecraft/class_1297;)Lnet/minecraft/class_10182;
      official a Lbvi;a(Lbtz;)Lbvi;
    • method_63637

      public static class_10182 method_63637(PlayerPositionLookS2CPacket playerPositionLookS2CPacket)
      Mappings:
      Namespace Name Mixin selector
      named method_63637 Lnet/minecraft/class_10182;method_63637(Lnet/minecraft/network/packet/s2c/play/PlayerPositionLookS2CPacket;)Lnet/minecraft/class_10182;
      intermediary method_63637 Lnet/minecraft/class_10182;method_63637(Lnet/minecraft/class_2708;)Lnet/minecraft/class_10182;
      official a Lbvi;a(Laem;)Lbvi;
    • method_63640

      public static class_10182 method_63640(TeleportTarget teleportTarget)
      Mappings:
      Namespace Name Mixin selector
      named method_63640 Lnet/minecraft/class_10182;method_63640(Lnet/minecraft/world/TeleportTarget;)Lnet/minecraft/class_10182;
      intermediary method_63640 Lnet/minecraft/class_10182;method_63640(Lnet/minecraft/class_5454;)Lnet/minecraft/class_10182;
      official a Lbvi;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_63639 Lnet/minecraft/class_10182;method_63639(Lnet/minecraft/class_10182;Lnet/minecraft/class_10182;Ljava/util/Set;)Lnet/minecraft/class_10182;
      intermediary method_63639 Lnet/minecraft/class_10182;method_63639(Lnet/minecraft/class_10182;Lnet/minecraft/class_10182;Ljava/util/Set;)Lnet/minecraft/class_10182;
      official a Lbvi;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_63636 Lnet/minecraft/class_10182;method_63636(DDLjava/util/Set;Lnet/minecraft/network/packet/s2c/play/PositionFlag;)D
      intermediary method_63636 Lnet/minecraft/class_10182;method_63636(DDLjava/util/Set;Lnet/minecraft/class_2709;)D
      official a Lbvi;a(DDLjava/util/Set;Lbvj;)D
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • position

      public Vec3d position()
      Returns the value of the position record component.
      Returns:
      the value of the position record component
    • deltaMovement

      public Vec3d deltaMovement()
      Returns the value of the deltaMovement record component.
      Returns:
      the value of the deltaMovement record component
    • yRot

      public float yRot()
      Returns the value of the yRot record component.
      Returns:
      the value of the yRot record component
    • xRot

      public float xRot()
      Returns the value of the xRot record component.
      Returns:
      the value of the xRot record component