More API stuff, make Pos3D actually override the Vec3 methods

This commit is contained in:
Ben Spiers committed 2016-01-22 00:20:01 +00:00
1 parent 956dab666d
commit 4384dbe376
3 files changed
+19 -7

No files matched your search

+12
View File
@@ -84,6 +84,18 @@ public class Coord4D extends BlockPos
dimensionId = dimension;
}
public Coord4D(Vec3i pos)
{
this(pos, 0);
}
public Coord4D(Vec3i pos, int dimension)
{
this(pos.getX(), pos.getY(), pos.getZ());
dimensionId = dimension;
}
public Coord4D(MovingObjectPosition mop)
{