Package net.minecraft.entity
Record Class Leashable.class_11265
java.lang.Object
java.lang.Record
net.minecraft.entity.Leashable.class_11265
- Record Components:
force-torque-
- Enclosing interface:
Leashable
- Mappings:
Namespace Name named net/minecraft/entity/Leashable$class_11265intermediary net/minecraft/class_9817$class_11265official byl$bnamed forceintermediary comp_4146official bnamed torqueintermediary comp_4147official c
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static Leashable.class_11265private final Vec3dThe field for theforcerecord component.private final doubleThe field for thetorquerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.force()Returns the value of theforcerecord component.final inthashCode()Returns a hash code value for this object.method_71007(double double2) (package private) static doublemethod_71008(Vec3d vec3d, Vec3d vec3d2) (package private) static Leashable.class_11265doubletorque()Returns the value of thetorquerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
force
The field for theforcerecord component. -
torque
private final double torqueThe field for thetorquerecord component. -
field_60006
- Mappings:
Namespace Name Mixin selector named field_60006Lnet/minecraft/entity/Leashable$class_11265;field_60006:Lnet/minecraft/entity/Leashable$class_11265;intermediary field_60006Lnet/minecraft/class_9817$class_11265;field_60006:Lnet/minecraft/class_9817$class_11265;official aLbyl$b;a:Lbyl$b;
-
-
Constructor Details
-
class_11265
-
-
Method Details
-
method_71008
- Mappings:
Namespace Name Mixin selector named method_71008Lnet/minecraft/entity/Leashable$class_11265;method_71008(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Dintermediary method_71008Lnet/minecraft/class_9817$class_11265;method_71008(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Dofficial aLbyl$b;a(Lfgo;Lfgo;)D
-
method_71009
- Mappings:
Namespace Name Mixin selector named method_71009Lnet/minecraft/entity/Leashable$class_11265;method_71009(Ljava/util/List;)Lnet/minecraft/entity/Leashable$class_11265;intermediary method_71009Lnet/minecraft/class_9817$class_11265;method_71009(Ljava/util/List;)Lnet/minecraft/class_9817$class_11265;official aLbyl$b;a(Ljava/util/List;)Lbyl$b;
-
method_71007
- Mappings:
Namespace Name Mixin selector named method_71007Lnet/minecraft/entity/Leashable$class_11265;method_71007(D)Lnet/minecraft/entity/Leashable$class_11265;intermediary method_71007Lnet/minecraft/class_9817$class_11265;method_71007(D)Lnet/minecraft/class_9817$class_11265;official aLbyl$b;a(D)Lbyl$b;
-
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 '=='. -
force
Returns the value of theforcerecord component.- Returns:
- the value of the
forcerecord component
-
torque
public double torque()Returns the value of thetorquerecord component.- Returns:
- the value of the
torquerecord component
-