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

Method getYPosition

src/main/java/org/bukkit/util/BlockIterator.java:215–217  ·  view source on GitHub ↗
(@NotNull Vector direction, @NotNull Vector position, @NotNull Block block)

Source from the content-addressed store, hash-verified

213 }
214
215 private double getYPosition(@NotNull Vector direction, @NotNull Vector position, @NotNull Block block) {
216 return getPosition(direction.getY(), position.getY(), block.getY());
217 }
218
219 private double getZPosition(@NotNull Vector direction, @NotNull Vector position, @NotNull Block block) {
220 return getPosition(direction.getZ(), position.getZ(), block.getZ());

Callers 1

BlockIteratorMethod · 0.95

Calls 2

getPositionMethod · 0.95
getYMethod · 0.65

Tested by

no test coverage detected