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

Method setX

paper-api/src/main/java/org/bukkit/util/Vector.java:632–636  ·  view source on GitHub ↗

Set the X component. @param x The new X component. @return This vector.

(int x)

Source from the content-addressed store, hash-verified

630 * @return This vector.
631 */
632 @NotNull
633 public Vector setX(int x) {
634 this.x = x;
635 return this;
636 }
637
638 /**
639 * Set the X component.

Callers 4

getDirectionMethod · 0.95
rotateAroundYMethod · 0.95
rotateAroundZMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected