MCPcopy Index your code
hub / github.com/cabaletta/baritone / add

Method add

src/api/java/baritone/api/utils/Rotation.java:65–70  ·  view source on GitHub ↗

Adds the yaw/pitch of the specified rotations to this rotation's yaw/pitch, and returns the result. @param other Another rotation @return The result from adding the other rotation to this rotation

(Rotation other)

Source from the content-addressed store, hash-verified

63 * @return The result from adding the other rotation to this rotation
64 */
65 public Rotation add(Rotation other) {
66 return new Rotation(
67 this.yaw + other.yaw,
68 this.pitch + other.pitch
69 );
70 }
71
72 /**
73 * Subtracts the yaw/pitch of the specified rotations from this

Callers 15

generateConfigsMethod · 0.80
dataMethod · 0.80
createBaritoneMethod · 0.80
loadMethod · 0.80
addWaypointMethod · 0.80
scanChunkIntoMethod · 0.80
loadMethod · 0.80
getAbsoluteBlocksMethod · 0.80
packMethod · 0.80
getChunkRangeMethod · 0.80
visitSectionMethod · 0.80

Calls

no outgoing calls

Tested by 1

dataMethod · 0.64