'Add a block with the given `texture` and `position` to the world.
Parameters
position : tuple of len 3
The (x, y, z) position of the block to add.
texture : list of len 3
The coordinates of the texture squares. Use `tex_coords()` to
generate.
immediate : bool
Whether or not to draw the block immediately.'

def add_block(self, position, texture, immediate=True):

    if (position in self.world):
        self.remove_block(position, immediate)
    self.world[position] = texture
    self.sectors.setdefault(sectorize(position), []).append(position)
    if immediate:
        if self.exposed(position):
            self.show_block(position)
        self.check_neighbors(position)
