(@NotNull Vector direction)
| 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()); |