Record Class Leashable.class_11265

java.lang.Object
java.lang.Record
net.minecraft.entity.Leashable.class_11265
Record Components:
force -
torque -
Enclosing interface:
Leashable

public static record Leashable.class_11265(Vec3d force, double torque) extends Record
Mappings:
Namespace Name
named net/minecraft/entity/Leashable$class_11265
intermediary net/minecraft/class_9817$class_11265
official byl$b
named force
intermediary comp_4146
official b
named torque
intermediary comp_4147
official c
  • Field Details

    • force

      private final Vec3d force
      The field for the force record component.
    • torque

      private final double torque
      The field for the torque record component.
    • field_60006

      static Leashable.class_11265 field_60006
      Mappings:
      Namespace Name Mixin selector
      named field_60006 Lnet/minecraft/entity/Leashable$class_11265;field_60006:Lnet/minecraft/entity/Leashable$class_11265;
      intermediary field_60006 Lnet/minecraft/class_9817$class_11265;field_60006:Lnet/minecraft/class_9817$class_11265;
      official a Lbyl$b;a:Lbyl$b;
  • Constructor Details

    • class_11265

      public class_11265(Vec3d vec3d, double double2)
  • Method Details

    • method_71008

      static double method_71008(Vec3d vec3d, Vec3d vec3d2)
      Mappings:
      Namespace Name Mixin selector
      named method_71008 Lnet/minecraft/entity/Leashable$class_11265;method_71008(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)D
      intermediary method_71008 Lnet/minecraft/class_9817$class_11265;method_71008(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)D
      official a Lbyl$b;a(Lfgo;Lfgo;)D
    • method_71009

      static Leashable.class_11265 method_71009(List<Leashable.class_11265> list)
      Mappings:
      Namespace Name Mixin selector
      named method_71009 Lnet/minecraft/entity/Leashable$class_11265;method_71009(Ljava/util/List;)Lnet/minecraft/entity/Leashable$class_11265;
      intermediary method_71009 Lnet/minecraft/class_9817$class_11265;method_71009(Ljava/util/List;)Lnet/minecraft/class_9817$class_11265;
      official a Lbyl$b;a(Ljava/util/List;)Lbyl$b;
    • method_71007

      public Leashable.class_11265 method_71007(double double2)
      Mappings:
      Namespace Name Mixin selector
      named method_71007 Lnet/minecraft/entity/Leashable$class_11265;method_71007(D)Lnet/minecraft/entity/Leashable$class_11265;
      intermediary method_71007 Lnet/minecraft/class_9817$class_11265;method_71007(D)Lnet/minecraft/class_9817$class_11265;
      official a Lbyl$b;a(D)Lbyl$b;
    • 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.
    • force

      public Vec3d force()
      Returns the value of the force record component.
      Returns:
      the value of the force record component
    • torque

      public double torque()
      Returns the value of the torque record component.
      Returns:
      the value of the torque record component