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

Method getZFace

src/main/java/org/bukkit/util/BlockIterator.java:191–193  ·  view source on GitHub ↗
(@NotNull Vector direction)

Source from the content-addressed store, hash-verified

189 }
190
191 private BlockFace getZFace(@NotNull Vector direction) {
192 return ((direction.getZ() > 0) ? BlockFace.SOUTH : BlockFace.NORTH);
193 }
194
195 private double getXLength(@NotNull Vector direction) {
196 return Math.abs(direction.getX());

Callers 1

BlockIteratorMethod · 0.95

Calls 1

getZMethod · 0.65

Tested by

no test coverage detected