private void updateTile(int x, int y, int z, int side) {
        if (x >= 0 && y >= 0 && z >= 0 && x < width && y < height && z < length) {
            Block var5;
            if ((var5 = Block.blocks[blocks[(y * length + z) * width + x]]) != null) {
                var5.onNeighborChange(this, x, y, z, side);
            }
        }
    }