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

Method setX

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

Sets the x-coordinate of this location @param x X-coordinate

(double x)

Source from the content-addressed store, hash-verified

137 * @param x X-coordinate
138 */
139 public void setX(double x) {
140 this.x = x;
141 }
142
143 /**
144 * Gets the x-coordinate of this location

Callers 5

toBlockLocationMethod · 0.95
toCenterLocationMethod · 0.95
getLocationMethod · 0.45
getLocationMethod · 0.45
getLocationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected