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

Method getYaw

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

Gets 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

()

Source from the content-addressed store, hash-verified

248 * @return the rotation's yaw
249 */
250 public float getYaw() {
251 return yaw;
252 }
253
254 /**
255 * Sets the pitch of this location, measured in degrees.

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