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

Method getXPosition

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

Source from the content-addressed store, hash-verified

209 }
210
211 private double getXPosition(@NotNull Vector direction, @NotNull Vector position, @NotNull Block block) {
212 return getPosition(direction.getX(), position.getX(), block.getX());
213 }
214
215 private double getYPosition(@NotNull Vector direction, @NotNull Vector position, @NotNull Block block) {
216 return getPosition(direction.getY(), position.getY(), block.getY());

Callers 1

BlockIteratorMethod · 0.95

Calls 2

getPositionMethod · 0.95
getXMethod · 0.65

Tested by

no test coverage detected