Location

public void Location(World world, double x, double y, double z)

Constructs new Location with the given coordinates

Parameters

world

The world in which this location resides

x

The x-coordinate of this new location

y

The y-coordinate of this new location

z

The z-coordinate of this new location


public void Location(World world, double x, double y, double z, float yaw, float pitch)

Constructs new Location with the given coordinates and direction

Parameters

world

The world in which this location resides

x

The x-coordinate of this new location

y

The y-coordinate of this new location

z

The z-coordinate of this new location

yaw

The absolute rotation on the x-plane, in degrees

pitch

The absolute rotation on the y-plane, in degrees