Constructor and Description |
---|
Vector() |
Vector(Block block) |
Vector(double x,
double y,
double z) |
Vector(Entity entity) |
Vector(int x,
int y,
int z) |
Vector(Location loc) |
public Vector()
public Vector(int x, int y, int z)
public Vector(double x, double y, double z)
public double getX()
public int getBlockX()
public double getY()
public int getBlockY()
public double getZ()
public int getBlockZ()
public boolean isZero()
public double lengthSq()
public double length()
public double distanceSq(Vector other)
public Direction toDirection()
public Location toLocation(World world)
public Location toLocation(World world, Vector2D direction)
public Location toLocation(World world, Direction dir)
public Location toLocation(World world, float yaw, float pitch)
public boolean equalsBlock(Object obj)
Copyright © 2012. All Rights Reserved.