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

Method setPitch

paper-api/src/main/java/org/bukkit/Location.java:266–268  ·  view source on GitHub ↗

Sets 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

(float pitch)

Source from the content-addressed store, hash-verified

264 * @param pitch new incline's pitch
265 */
266 public void setPitch(float pitch) {
267 this.pitch = pitch;
268 }
269
270 /**
271 * Gets the pitch of this location, measured in degrees.

Callers 3

getRandomMethod · 0.95
getLocationMethod · 0.95
getLocationMethod · 0.80

Calls

no outgoing calls

Tested by 2

getRandomMethod · 0.76
getLocationMethod · 0.76