Restricting mob spawning to caves

Started by GlitchyBoy on

Topic category: Help with modding (Java Edition)

Last seen on 14:53, 24. Mar 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Restricting mob spawning to caves

So I was wondering how do i restrict a mob’s spawning to solely caves, dungeons and strongholds?

Last seen on 00:51, 3. Nov 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im not a hundred percent…
Sat, 03/21/2020 - 22:48

im not a hundred percent sure but ik there is cave air which might allow you to "find caves to limit spawning not sure how you would go about that though maybe a custom procedure to spawn them rather than using the built-in spawning system.