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

Method getYFace

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

Source from the content-addressed store, hash-verified

185 }
186
187 private BlockFace getYFace(@NotNull Vector direction) {
188 return ((direction.getY() > 0) ? BlockFace.UP : BlockFace.DOWN);
189 }
190
191 private BlockFace getZFace(@NotNull Vector direction) {
192 return ((direction.getZ() > 0) ? BlockFace.SOUTH : BlockFace.NORTH);

Callers 1

BlockIteratorMethod · 0.95

Calls 1

getYMethod · 0.65

Tested by

no test coverage detected