(BlockPos toReplace, EnumFacing facing)
| 59 | } |
| 60 | |
| 61 | private BlockPos replace(BlockPos toReplace, EnumFacing facing) { |
| 62 | BlockPos with = facing.getAxisDirection() == AxisDirection.POSITIVE ? min : max; |
| 63 | return VecUtil.replaceValue(toReplace, facing.getAxis(), VecUtil.getValue(with, facing.getAxis())); |
| 64 | } |
| 65 | |
| 66 | public BlockPos getCurrent() { |
| 67 | return current; |
no test coverage detected