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

Method set

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

Sets the position of this Location and returns itself This mutates this object, clone first. @param x X coordinate @param y Y coordinate @param z Z coordinate @return self (not cloned)

(double x, double y, double z)

Source from the content-addressed store, hash-verified

636 * @return self (not cloned)
637 */
638 @NotNull
639 public Location set(double x, double y, double z) {
640 this.x = x;
641 this.y = y;
642 this.z = z;
643 return this;
644 }
645
646 /**
647 * Sets the rotation of this location and returns itself.

Callers 2

addMethod · 0.95
subtractMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected