@Override
public ChunkViewCore getSubviewAroundChunk(Vector3i chunkPos) {
Region3i region = Region3i.createFromCenterExtents(chunkPos, ChunkConstants.LOCAL_REGION_EXTENTS);
if (getChunk(chunkPos) != null) {
return createWorldView(region, new Vector3i(-region.min().x, -region.min().y, -region.min().z));
}
return null;
}
private ChunkViewCore createWorldView(Region3i region, Vector3i offset) {