Package net.minecraft

Record Class class_9879.class_9880

java.lang.Object
java.lang.Record
net.minecraft.class_9879.class_9880
Record Components:
position -
movement -
yRot -
xRot -
weight -
Enclosing class:
class_9879

public static record class_9879.class_9880(Vec3d position, Vec3d movement, float yRot, float xRot, float weight) extends Record
Mappings:
Namespace Name
named net/minecraft/class_9879$class_9880
intermediary net/minecraft/class_9879$class_9880
official cqa$a
named position
intermediary comp_2921
official d
named movement
intermediary comp_2922
official e
named yRot
intermediary comp_2923
official f
named xRot
intermediary comp_2924
official g
named weight
intermediary comp_2925
official h
  • Field Details

    • position

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

      private final Vec3d movement
      The field for the movement 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.
    • weight

      private final float weight
      The field for the weight record component.
    • field_52539

      public static final PacketCodec<ByteBuf,Float> field_52539
      Mappings:
      Namespace Name Mixin selector
      named field_52539 Lnet/minecraft/class_9879$class_9880;field_52539:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_52539 Lnet/minecraft/class_9879$class_9880;field_52539:Lnet/minecraft/class_9139;
      official a Lcqa$a;a:Lzb;
    • field_52540

      public static final PacketCodec<ByteBuf,class_9879.class_9880> field_52540
      Mappings:
      Namespace Name Mixin selector
      named field_52540 Lnet/minecraft/class_9879$class_9880;field_52540:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_52540 Lnet/minecraft/class_9879$class_9880;field_52540:Lnet/minecraft/class_9139;
      official b Lcqa$a;b:Lzb;
    • field_52541

      public static class_9879.class_9880 field_52541
      Mappings:
      Namespace Name Mixin selector
      named field_52541 Lnet/minecraft/class_9879$class_9880;field_52541:Lnet/minecraft/class_9879$class_9880;
      intermediary field_52541 Lnet/minecraft/class_9879$class_9880;field_52541:Lnet/minecraft/class_9879$class_9880;
      official c Lcqa$a;c:Lcqa$a;
  • Constructor Details

    • class_9880

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

    • method_61617

      private static byte method_61617(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_61617 Lnet/minecraft/class_9879$class_9880;method_61617(F)B
      intermediary method_61617 Lnet/minecraft/class_9879$class_9880;method_61617(F)B
      official a Lcqa$a;a(F)B
    • method_61616

      private static float method_61616(byte byte2)
      Mappings:
      Namespace Name Mixin selector
      named method_61616 Lnet/minecraft/class_9879$class_9880;method_61616(B)F
      intermediary method_61616 Lnet/minecraft/class_9879$class_9880;method_61616(B)F
      official a Lcqa$a;a(B)F
    • 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
    • movement

      public Vec3d movement()
      Returns the value of the movement record component.
      Returns:
      the value of the movement 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
    • weight

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