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

Method getPitch

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

Gets the pitch of this location, measured in degrees. A pitch of 0 represents level forward facing. A pitch of 90 represents downward facing, or negative y direction. A pitch of -90 represents upward facing, or positive y direction. Increasing pitch values the equivalent o

()

Source from the content-addressed store, hash-verified

272 * @return the incline's pitch
273 */
274 public float getPitch() {
275 return pitch;
276 }
277
278 /**
279 * Gets a unit-vector pointing in the direction that this Location is

Callers 5

getDirectionMethod · 0.95
launchProjectileMethod · 0.95
spawnArrowMethod · 0.45
createEntityMethod · 0.45
teleportMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected