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

Method getMaximum

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

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

(@NotNull Vector v1, @NotNull Vector v2)

Source from the content-addressed store, hash-verified

845 * @return maximum
846 */
847 @NotNull
848 public static Vector getMaximum(@NotNull Vector v1, @NotNull Vector v2) {
849 return new Vector(Math.max(v1.x, v2.x), Math.max(v1.y, v2.y), Math.max(v1.z, v2.z));
850 }
851
852 /**
853 * Gets a random vector with components having a random value between 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected