Adding neo

This commit is contained in:
Dawson
2023-02-13 10:21:28 -05:00
parent 3b6ddeaa3e
commit 00c502c192
14 changed files with 294 additions and 664 deletions
@@ -313,6 +313,10 @@ public class AxisAlignedBB {
return vec3d != null && (vec3d.x >= this.minX && vec3d.x <= this.maxX && vec3d.y >= this.minY && vec3d.y <= this.maxY);
}
public me.hydro.emulator.util.mcp.AxisAlignedBB toNeo() {
return new me.hydro.emulator.util.mcp.AxisAlignedBB(minX, minY, minZ, maxX, maxY, maxZ);
}
public String toString() {
return "box[" + this.minX + ", " + this.minY + ", " + this.minZ + " -> " + this.maxX + ", " + this.maxY + ", " + this.maxZ + "]";
}