net.minecraft.util.Vec3.Vec3 |
( |
Vec3Pool |
par1Vec3Pool, |
|
|
double |
par2, |
|
|
double |
par4, |
|
|
double |
par6 |
|
) |
| |
|
protected |
Vec3 net.minecraft.util.Vec3.addVector |
( |
double |
par1, |
|
|
double |
par3, |
|
|
double |
par5 |
|
) |
| |
Adds the specified x,y,z vector components to this vector and returns the resulting vector. Does not change this vector.
static Vec3 net.minecraft.util.Vec3.createVectorHelper |
( |
double |
par0, |
|
|
double |
par2, |
|
|
double |
par4 |
|
) |
| |
|
static |
Static method for creating a new Vec3D given the three x,y,z values. This is only called from the other static method which creates and places it in the list.
Vec3 net.minecraft.util.Vec3.crossProduct |
( |
Vec3 |
par1Vec3) | |
|
Returns a new vector with the result of this vector x the specified vector.
double net.minecraft.util.Vec3.distanceTo |
( |
Vec3 |
par1Vec3) | |
|
Euclidean distance between this and the specified vector, returned as double.
double net.minecraft.util.Vec3.dotProduct |
( |
Vec3 |
par1Vec3) | |
|
Vec3 net.minecraft.util.Vec3.getIntermediateWithXValue |
( |
Vec3 |
par1Vec3, |
|
|
double |
par2 |
|
) |
| |
Returns a new vector with x value equal to the second parameter, along the line between this vector and the passed in vector, or null if not possible.
Vec3 net.minecraft.util.Vec3.getIntermediateWithYValue |
( |
Vec3 |
par1Vec3, |
|
|
double |
par2 |
|
) |
| |
Returns a new vector with y value equal to the second parameter, along the line between this vector and the passed in vector, or null if not possible.
Vec3 net.minecraft.util.Vec3.getIntermediateWithZValue |
( |
Vec3 |
par1Vec3, |
|
|
double |
par2 |
|
) |
| |
Returns a new vector with z value equal to the second parameter, along the line between this vector and the passed in vector, or null if not possible.
double net.minecraft.util.Vec3.lengthVector |
( |
) | |
|
Returns the length of the vector.
Vec3 net.minecraft.util.Vec3.normalize |
( |
) | |
|
Normalizes the vector to a length of 1 (except if it is the zero vector)
void net.minecraft.util.Vec3.rotateAroundX |
( |
float |
par1) | |
|
Rotates the vector around the x axis by the specified angle.
void net.minecraft.util.Vec3.rotateAroundY |
( |
float |
par1) | |
|
Rotates the vector around the y axis by the specified angle.
void net.minecraft.util.Vec3.rotateAroundZ |
( |
float |
par1) | |
|
Rotates the vector around the z axis by the specified angle.
Vec3 net.minecraft.util.Vec3.setComponents |
( |
double |
par1, |
|
|
double |
par3, |
|
|
double |
par5 |
|
) |
| |
|
protected |
Sets the x,y,z components of the vector as specified.
double net.minecraft.util.Vec3.squareDistanceTo |
( |
Vec3 |
par1Vec3) | |
|
The square of the Euclidean distance between this and the specified vector.
double net.minecraft.util.Vec3.squareDistanceTo |
( |
double |
par1, |
|
|
double |
par3, |
|
|
double |
par5 |
|
) |
| |
The square of the Euclidean distance between this and the vector of x,y,z components passed in.
Vec3 net.minecraft.util.Vec3.subtract |
( |
Vec3 |
par1Vec3) | |
|
Returns a new vector with the result of the specified vector minus this.
String net.minecraft.util.Vec3.toString |
( |
) | |
|
A global Vec3Pool that always creates new vectors instead of reusing them and is thread-safe.
final Vec3Pool net.minecraft.util.Vec3.myVec3LocalPool |
double net.minecraft.util.Vec3.xCoord |
double net.minecraft.util.Vec3.yCoord |
double net.minecraft.util.Vec3.zCoord |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/util/Vec3.java