MCPcopy Index your code
hub / github.com/PaperMC/Paper / getPitch

Method getPitch

paper-api/src/main/java/org/bukkit/Location.java:282–284  ·  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

280 * @return the incline's pitch
281 */
282 public float getPitch() {
283 return pitch;
284 }
285
286 /**
287 * Gets a unit-vector pointing in the direction that this Location is

Callers 6

getRandomMethod · 0.95
testExpectedPitchYawMethod · 0.95
getDirectionMethod · 0.95
isFiniteMethod · 0.95
toLocationMethod · 0.95
launchProjectileMethod · 0.95

Calls

no outgoing calls

Tested by 2

getRandomMethod · 0.76
testExpectedPitchYawMethod · 0.76