MCPcopy Create free account
hub / github.com/Teneted/Tenet / toLocation

Method toLocation

src/main/java/org/bukkit/util/Vector.java:780–783  ·  view source on GitHub ↗

Gets a Location version of this vector with yaw and pitch being 0. @param world The world to link the location to. @return the location

(@NotNull World world)

Source from the content-addressed store, hash-verified

778 * @return the location
779 */
780 @NotNull
781 public Location toLocation(@NotNull World world) {
782 return new Location(world, x, y, z);
783 }
784
785 /**
786 * Gets a Location version of this vector.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected