add

public Location add(Location vec)

Adds the location by another.

Return

the same location

Parameters

vec

The other location

See also

Throws

for differing worlds


public Location add(Vector vec)

Adds the location by vector.

Return

the same location

Parameters

vec

Vector to use

See also


public Location add(double x, double y, double z)

Adds the location by another. Not world-aware.

Return

the same location

Parameters

x

X coordinate

y

Y coordinate

z

Z coordinate

See also