Platform: Xbox One X
Version 1.9.0
Game mode: Survival
Spawn conditions for friendly mobs have recently changed and now allow them to spawn on stone ('smooth stone'). I've experienced llamas spawning down mines at y=7 (indicated), also other animals (pigs, sheep, cows, chickens) inside buildings and on my elevated mine cart tracks. This is annoying at best, and seriously irritating when they hijack mine carts.
I certainly hope that this is not an intentional effect. It looks as if it may be applying a negative offset to ALL outdoor light sources for the purposes of mob spawning. To be more specific about the situation I saw: the compound is totally surrounded by a wall with an exterior overhang at the top, and all entrances are gated and only one block wide, so not even spiders can get in. The entire open space is covered with a grid of torches spaced at 4 blocks centre-to-centre - the standard lighting scheme I’ve been using for years, inside and out.
The base building itself uses the same security measures (overhanging balcony all around, single-width entrances below the overhang) and has an enormous expanse of flat roof, with the appropriate torch grid. Since this luckily didn’t spawn a host of mobs, I assume that they were inhibited by the material (glass and stone brick blocks). The one mob (a zombie villager) which did spawn behind me while I was watching, aghast, may have spawned on a catwalk (also properly lit, of course) spanning a single-storey area, which uses stone brick steps and stone slabs.
This bug screws up one of the fundamental and best (in my opinion) mechanics of the game - that monsters spawn in the dark, but you can reliably prevent this by using lights.