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

Method getBlockY

src/main/java/org/bukkit/util/Vector.java:587–589  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

585 * @return block y
586 */
587 public int getBlockY() {
588 return NumberConversions.floor(y);
589 }
590
591 /**
592 * Gets the Z component.

Callers 15

setSpawnLocationMethod · 0.45
generateTreeMethod · 0.45
getBlockAtMethod · 0.45
playEffectMethod · 0.45
locateNearestRaidMethod · 0.45
setRelativePositionMethod · 0.45
setStructureSizeMethod · 0.45
setExitLocationMethod · 0.45
setFlowerMethod · 0.45
setLodestoneMethod · 0.45
sleepMethod · 0.45
openWorkbenchMethod · 0.45

Calls 1

floorMethod · 0.95

Tested by

no test coverage detected