WorldVector
s with Location
s@Deprecated public class BlockWorldVector extends WorldVector
Constructor and Description |
---|
BlockWorldVector(LocalWorld world,
double x,
double y,
double z)
Deprecated.
Construct a new instance.
|
BlockWorldVector(LocalWorld world,
float x,
float y,
float z)
Deprecated.
Construct a new instance.
|
BlockWorldVector(LocalWorld world,
int x,
int y,
int z)
Deprecated.
Construct a new instance.
|
BlockWorldVector(LocalWorld world,
Vector position)
Deprecated.
Construct an instance from another instance.
|
BlockWorldVector(WorldVector position)
Deprecated.
Construct an instance from another instance.
|
BlockWorldVector(WorldVector world,
int x,
int y,
int z)
Deprecated.
Construct a new instance.
|
BlockWorldVector(WorldVector world,
Vector v)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
getWorld, toBlockPoint, toLocation, toWorldBlockVector
add, add, add, add, ceil, clampY, compareTo, containedWithin, containedWithinBlock, cross, distance, distanceSq, divide, divide, divide, divide, divide, divide, dot, floor, getBlockX, getBlockY, getBlockZ, getMaximum, getMidpoint, getMinimum, getX, getY, getZ, isCollinearWith, length, lengthSq, multiply, multiply, multiply, multiply, multiply, multiply, multiply, normalize, positive, round, setX, setX, setY, setY, setZ, setZ, subtract, subtract, subtract, subtract, toBlockPoint, toBlockPoint, toBlockVector, toPitch, toString, toVector2D, toYaw, transform2D
public BlockWorldVector(WorldVector position)
position
- the position to copypublic BlockWorldVector(LocalWorld world, Vector position)
world
- the worldposition
- the position to copypublic BlockWorldVector(WorldVector world, int x, int y, int z)
world
- another instancex
- the X coordinatey
- the Y coordinatez
- the Z coordinatepublic BlockWorldVector(WorldVector world, Vector v)
world
- another instancev
- the other vectorpublic BlockWorldVector(LocalWorld world, int x, int y, int z)
world
- a worldx
- the X coordinatey
- the Y coordinatez
- the Z coordinatepublic BlockWorldVector(LocalWorld world, float x, float y, float z)
world
- a worldx
- the X coordinatey
- the Y coordinatez
- the Z coordinatepublic BlockWorldVector(LocalWorld world, double x, double y, double z)
world
- a worldx
- the X coordinatey
- the Y coordinatez
- the Z coordinate