After creating the usual three-level witch farm on a witch hut (top level one block above the roof), I observed that it seemed to work as intended until maybe about 20w20a. When playing in the latest snapshot, I observed large amounts of normal hostile mobs spawning on all platforms.
Thank you for your report!
However, this issue is a Duplicate of MC-184740.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki