Add the given coordinates to the coordinates of this BlockPos @param x X coordinate @param y Y coordinate @param z Z coordinate
(double x, double y, double z)
| 65 | * @param z Z coordinate |
| 66 | */ |
| 67 | public BlockPos add(double x, double y, double z) |
| 68 | { |
| 69 | return x == 0.0D && y == 0.0D && z == 0.0D ? this : new BlockPos((double)this.getX() + x, (double)this.getY() + y, (double)this.getZ() + z); |
| 70 | } |
| 71 | |
| 72 | public Vec3 toVec3(){ |
| 73 | return new Vec3(this.getX(), this.getY(), this.getZ()); |
no test coverage detected