WorldVector
s with Location
s@Deprecated public class BlockWorldVector2D extends WorldVector2D
world
Constructor and Description |
---|
BlockWorldVector2D(LocalWorld world)
Deprecated.
Construct a new instance with X and Z set to (0, 0).
|
BlockWorldVector2D(LocalWorld world,
double x,
double z)
Deprecated.
Construct a new instance.
|
BlockWorldVector2D(LocalWorld world,
float x,
float z)
Deprecated.
Construct a new instance.
|
BlockWorldVector2D(LocalWorld world,
int x,
int z)
Deprecated.
Construct a new instance.
|
BlockWorldVector2D(LocalWorld world,
Vector2D position)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
Gets the hash code.
|
getWorld
add, add, add, add, ceil, containedWithin, containedWithinBlock, distance, distanceSq, divide, divide, divide, divide, divide, divide, dot, floor, getBlockX, getBlockZ, getMaximum, getMinimum, getX, getZ, isCollinearWith, length, lengthSq, multiply, multiply, multiply, multiply, multiply, multiply, multiply, normalize, positive, round, setX, setX, setZ, setZ, subtract, subtract, subtract, subtract, toBlockVector2D, toString, toVector, toVector, transform2D
public BlockWorldVector2D(LocalWorld world, double x, double z)
world
- the worldx
- the X coordinatez
- the Z coordinatepublic BlockWorldVector2D(LocalWorld world, float x, float z)
world
- the worldx
- the X coordinatez
- the Z coordinatepublic BlockWorldVector2D(LocalWorld world, int x, int z)
world
- the worldx
- the X coordinatez
- the Z coordinatepublic BlockWorldVector2D(LocalWorld world, Vector2D position)
world
- the worldposition
- a positionpublic BlockWorldVector2D(LocalWorld world)
world
- the worldpublic boolean equals(java.lang.Object obj)
equals
in class WorldVector2D
public int hashCode()
WorldVector2D
hashCode
in class WorldVector2D