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

Method checkFinite

src/main/java/org/bukkit/Location.java:615–621  ·  view source on GitHub ↗

Check if each component of this Location is finite. @throws IllegalArgumentException if any component is not finite

()

Source from the content-addressed store, hash-verified

613 * @throws IllegalArgumentException if any component is not finite
614 */
615 public void checkFinite() throws IllegalArgumentException {
616 NumberConversions.checkFinite(x, "x not finite");
617 NumberConversions.checkFinite(y, "y not finite");
618 NumberConversions.checkFinite(z, "z not finite");
619 NumberConversions.checkFinite(pitch, "pitch not finite");
620 NumberConversions.checkFinite(yaw, "yaw not finite");
621 }
622
623 /**
624 * Safely converts a double (location coordinate) to an int (block

Callers

nothing calls this directly

Calls 1

checkFiniteMethod · 0.95

Tested by

no test coverage detected