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) |
boolean |
equals(java.lang.Object o) |
net.minecraft.util.math.Vec3d |
getInternal() |
crafttweaker.api.world.IVector3d |
getNormalized() |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode() |
crafttweaker.api.world.IVector3d |
scale(double factor) |
crafttweaker.api.world.IVector3d |
subtract(crafttweaker.api.world.IVector3d other) |
crafttweaker.api.world.IVector3d |
subtractReverse(crafttweaker.api.world.IVector3d other) |
public double getX()
getX in interface crafttweaker.api.world.IVector3dpublic double getY()
getY in interface crafttweaker.api.world.IVector3dpublic double getZ()
getZ in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d getNormalized()
getNormalized in interface crafttweaker.api.world.IVector3dpublic double dotProduct(crafttweaker.api.world.IVector3d other)
dotProduct in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d crossProduct(crafttweaker.api.world.IVector3d other)
crossProduct in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d subtract(crafttweaker.api.world.IVector3d other)
subtract in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d subtractReverse(crafttweaker.api.world.IVector3d other)
subtractReverse in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d add(crafttweaker.api.world.IVector3d other)
add in interface crafttweaker.api.world.IVector3dpublic double distanceTo(crafttweaker.api.world.IVector3d other)
distanceTo in interface crafttweaker.api.world.IVector3dpublic crafttweaker.api.world.IVector3d scale(double factor)
scale in interface crafttweaker.api.world.IVector3dpublic net.minecraft.util.math.Vec3d getInternal()
getInternal in interface crafttweaker.api.world.IVector3dpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object