public WPObjectDynmapWorld(WPObject object) { super(object.getName(), object.getDimensions().z, 0); this.object = object; chunkCache = new WPObjectMapChunkCache(this, object); Point3i offset = object.getOffset(); xOffset = offset.x; yOffset = offset.y; Point3i dimensions = object.getDimensions(); bounds = new Box(xOffset, dimensions.x + xOffset, yOffset, dimensions.y + yOffset, 0, dimensions.z); }