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

Method getBlockY

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

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

()

Source from the content-addressed store, hash-verified

184 * @return block y
185 */
186 public int getBlockY() {
187 return locToBlock(y);
188 }
189
190 /**
191 * Sets the z-coordinate of this location

Callers 5

toBlockLocationMethod · 0.95
toBlockKeyMethod · 0.95
toCenterLocationMethod · 0.95
createExplorerMapMethod · 0.95

Calls 1

locToBlockMethod · 0.95

Tested by

no test coverage detected