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

Method getMinimum

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

Gets the minimum components of two vectors. @param v1 The first vector. @param v2 The second vector. @return minimum

(@NotNull Vector v1, @NotNull Vector v2)

Source from the content-addressed store, hash-verified

833 * @return minimum
834 */
835 @NotNull
836 public static Vector getMinimum(@NotNull Vector v1, @NotNull Vector v2) {
837 return new Vector(Math.min(v1.x, v2.x), Math.min(v1.y, v2.y), Math.min(v1.z, v2.z));
838 }
839
840 /**
841 * Gets the maximum components of two vectors.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected