MCPcopy Create free account
hub / github.com/Teneted/Tenet / getBlockX

Method getBlockX

src/main/java/org/bukkit/Location.java:150–152  ·  view source on GitHub ↗

Gets the floored value of the X component, indicating the block that this location is contained with. @return block X

()

Source from the content-addressed store, hash-verified

148 * @return block X
149 */
150 public int getBlockX() {
151 return locToBlock(x);
152 }
153
154 /**
155 * Sets the y-coordinate of this location

Callers 1

createExplorerMapMethod · 0.95

Calls 1

locToBlockMethod · 0.95

Tested by

no test coverage detected