public void unloadChunks(int x,int z){
        Chunk current = chunks[x][z];
        current.removeFromParent();
        chunks[x][z] = null;
        if(isEmpty())dim.unloadRegion(this);
        System.gc();
    }