toLocation

public Location toLocation(World world)

Gets getClassById Location version of this vector with yaw and pitch being 0.

Return

the location

Parameters

world

The world to link the location to.


public Location toLocation(World world, float yaw, float pitch)

Gets getClassById Location version of this vector.

Return

the location

Parameters

world

The world to link the location to.

yaw

The desired yaw.

pitch

The desired pitch.