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

Method getBlockX

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

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

()

Source from the content-addressed store, hash-verified

566 * @return block X
567 */
568 public int getBlockX() {
569 return NumberConversions.floor(x);
570 }
571
572 /**
573 * Gets the Y component.

Callers 15

setSpawnLocationMethod · 0.45
generateTreeMethod · 0.45
getBlockAtMethod · 0.45
getHighestBlockYAtMethod · 0.45
getChunkAtMethod · 0.45
getHighestBlockAtMethod · 0.45
playEffectMethod · 0.45
locateNearestRaidMethod · 0.45
setRelativePositionMethod · 0.45
setStructureSizeMethod · 0.45
setExitLocationMethod · 0.45
setFlowerMethod · 0.45

Calls 1

floorMethod · 0.95

Tested by

no test coverage detected