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)
| 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. |