public class MCVector3d
extends java.lang.Object
implements crafttweaker.api.world.IVector3d
Constructor and Description |
---|
MCVector3d(net.minecraft.util.math.Vec3d vec) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.world.IVector3d |
add(crafttweaker.api.world.IVector3d other) |
crafttweaker.api.world.IVector3d |
crossProduct(crafttweaker.api.world.IVector3d other) |
double |
distanceTo(crafttweaker.api.world.IVector3d other) |
double |
dotProduct(crafttweaker.api.world.IVector3d other) |
net.minecraft.util.math.Vec3d |
getInternal() |
crafttweaker.api.world.IVector3d |
getNormalized() |
double |
getX() |
double |
getY() |
double |
getZ() |
crafttweaker.api.world.IVector3d |
scale(double factor) |
crafttweaker.api.world.IVector3d |
subtract(crafttweaker.api.world.IVector3d other) |
public double getX()
getX
in interface crafttweaker.api.world.IVector3d
public double getY()
getY
in interface crafttweaker.api.world.IVector3d
public double getZ()
getZ
in interface crafttweaker.api.world.IVector3d
public crafttweaker.api.world.IVector3d getNormalized()
getNormalized
in interface crafttweaker.api.world.IVector3d
public double dotProduct(crafttweaker.api.world.IVector3d other)
dotProduct
in interface crafttweaker.api.world.IVector3d
public crafttweaker.api.world.IVector3d crossProduct(crafttweaker.api.world.IVector3d other)
crossProduct
in interface crafttweaker.api.world.IVector3d
public crafttweaker.api.world.IVector3d subtract(crafttweaker.api.world.IVector3d other)
subtract
in interface crafttweaker.api.world.IVector3d
public crafttweaker.api.world.IVector3d add(crafttweaker.api.world.IVector3d other)
add
in interface crafttweaker.api.world.IVector3d
public double distanceTo(crafttweaker.api.world.IVector3d other)
distanceTo
in interface crafttweaker.api.world.IVector3d
public crafttweaker.api.world.IVector3d scale(double factor)
scale
in interface crafttweaker.api.world.IVector3d
public net.minecraft.util.math.Vec3d getInternal()
getInternal
in interface crafttweaker.api.world.IVector3d