Class ExpandVec3
java.lang.Object
com.blamejared.crafttweaker.natives.util.math.ExpandVec3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.Vec3add(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) static net.minecraft.world.phys.Vec3add(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static booleancloserThan(net.minecraft.world.phys.Vec3 internal, net.minecraft.core.Position position, double maxDistance) static net.minecraft.world.phys.Vec3cross(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static doubledistanceTo(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static doubledistanceToSqr(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) static doubledistanceToSqr(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static doubledot(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static doublegetValue(net.minecraft.world.phys.Vec3 internal, net.minecraft.core.Direction.Axis axis) static doublehorizontalDistance(net.minecraft.world.phys.Vec3 internal) static doublehorizontalDistanceSqr(net.minecraft.world.phys.Vec3 internal) static doublelength(net.minecraft.world.phys.Vec3 internal) static doublelengthSqr(net.minecraft.world.phys.Vec3 internal) static net.minecraft.world.phys.Vec3lerp(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other, double value) static net.minecraft.world.phys.Vec3multiply(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) static net.minecraft.world.phys.Vec3multiply(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static net.minecraft.world.phys.Vec3normalize(net.minecraft.world.phys.Vec3 internal) static net.minecraft.world.phys.Vec3reverse(net.minecraft.world.phys.Vec3 internal) static net.minecraft.world.phys.Vec3scale(net.minecraft.world.phys.Vec3 internal, double scalar) static net.minecraft.world.phys.Vec3subtract(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) static net.minecraft.world.phys.Vec3subtract(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static net.minecraft.world.phys.Vec3vectorTo(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) static net.minecraft.world.phys.Vec3xRot(net.minecraft.world.phys.Vec3 internal, float pitch) static net.minecraft.world.phys.Vec3yRot(net.minecraft.world.phys.Vec3 internal, float yaw) static net.minecraft.world.phys.Vec3zRot(net.minecraft.world.phys.Vec3 internal, float roll)
-
Constructor Details
-
ExpandVec3
public ExpandVec3()
-
-
Method Details
-
vectorTo
public static net.minecraft.world.phys.Vec3 vectorTo(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
normalize
public static net.minecraft.world.phys.Vec3 normalize(net.minecraft.world.phys.Vec3 internal) -
dot
public static double dot(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
cross
public static net.minecraft.world.phys.Vec3 cross(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
subtract
public static net.minecraft.world.phys.Vec3 subtract(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
subtract
public static net.minecraft.world.phys.Vec3 subtract(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) -
add
public static net.minecraft.world.phys.Vec3 add(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
add
public static net.minecraft.world.phys.Vec3 add(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) -
closerThan
public static boolean closerThan(net.minecraft.world.phys.Vec3 internal, net.minecraft.core.Position position, double maxDistance) -
distanceTo
public static double distanceTo(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
distanceToSqr
public static double distanceToSqr(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
distanceToSqr
public static double distanceToSqr(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) -
scale
public static net.minecraft.world.phys.Vec3 scale(net.minecraft.world.phys.Vec3 internal, double scalar) -
reverse
public static net.minecraft.world.phys.Vec3 reverse(net.minecraft.world.phys.Vec3 internal) -
multiply
public static net.minecraft.world.phys.Vec3 multiply(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other) -
multiply
public static net.minecraft.world.phys.Vec3 multiply(net.minecraft.world.phys.Vec3 internal, double x, double y, double z) -
length
public static double length(net.minecraft.world.phys.Vec3 internal) -
lengthSqr
public static double lengthSqr(net.minecraft.world.phys.Vec3 internal) -
horizontalDistance
public static double horizontalDistance(net.minecraft.world.phys.Vec3 internal) -
horizontalDistanceSqr
public static double horizontalDistanceSqr(net.minecraft.world.phys.Vec3 internal) -
lerp
public static net.minecraft.world.phys.Vec3 lerp(net.minecraft.world.phys.Vec3 internal, net.minecraft.world.phys.Vec3 other, double value) -
xRot
public static net.minecraft.world.phys.Vec3 xRot(net.minecraft.world.phys.Vec3 internal, float pitch) -
yRot
public static net.minecraft.world.phys.Vec3 yRot(net.minecraft.world.phys.Vec3 internal, float yaw) -
zRot
public static net.minecraft.world.phys.Vec3 zRot(net.minecraft.world.phys.Vec3 internal, float roll) -
getValue
public static double getValue(net.minecraft.world.phys.Vec3 internal, net.minecraft.core.Direction.Axis axis)
-