Added cache_block_before_spawn and max_spawn_height.