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

Method setYaw

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

Sets the yaw of this location, measured in degrees. A yaw of 0 or 360 represents the positive z direction. A yaw of 180 represents the negative z direction. A yaw of 90 represents the negative x direction. A yaw of 270 represents the positive x direction. Increasing yaw va

(float yaw)

Source from the content-addressed store, hash-verified

230 * @param yaw new rotation's yaw
231 */
232 public void setYaw(float yaw) {
233 this.yaw = yaw;
234 }
235
236 /**
237 * Gets the yaw 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