MC-99980 has never been resolved.
How to reproduce:
Create a creative superflat world without structures with the preset
minecraft:bedrock,59minecraft:stone,3minecraft:dirt,minecraft:grass_block;minecraft:mushroom_fieldsRun
/setblock 5 1 0 repeating_command_block{TrackOutput:0b,auto:1b,Command:"/weather thunder"} replace,/setblock 5 0 0 repeating_command_block{TrackOutput:0b,auto:1b,Command:"/tp @e[type=minecraft:skeleton_horse] 0 0 0"} replaceand/tick rate 2000Wait a few seconds and a skeleton trap will spawn
A serious issue for mushroom islands specifically, trap horses should not spawn there considering monsters are not supposed to spawn there normally