net.minecraft.entity

public record Leashable$Elasticity

net.minecraft.world.entity.Leashable$Wrench
net.minecraft.class_9817$class_11265
net.minecraft.entity.Leashable$Elasticity

Field summary

Modifier and TypeField
private final Vec3d
force
comp_4146
force
private final double
torque
comp_4147
torque
public static final Leashable$Elasticity
ZERO
field_60006
ZERO

Constructor summary

ModifierConstructor
public (Vec3d force, double torque)

Method summary

Modifier and TypeMethod
public static double
torqueFromForce(Vec3 leverArm, Vec3 force)
method_71008(class_243 arg0, class_243 arg1)
calculateTorque(Vec3d force, Vec3d force2)
public static Leashable$Elasticity
accumulate(List<Leashable$Wrench> wrenches)
method_71009(List<class_9817$class_11265> arg0)
sumOf(List<Leashable$Elasticity> elasticities)
public Leashable$Elasticity
scale(double scale)
method_71007(double arg0)
multiply(double value)
public Vec3d
force()
comp_4146()
force()
public double
torque()
comp_4147()
torque()