How do I make a custom mob not spawn in caves?
I already read the wiki, but when I make my mob spawn naturally, most of the time it spawns in a cave. The code for its random spawning is here RandomThunderSheep: MobType: ThunderSheep Worlds: world Level: 1-3 Chance: 0.05 Priority: 5 UseWorldScaling: false PositionType: LAND Conditions:
- day