How to make a mob spawn only in caves??

Started by RasorVolt on

Topic category: Help with modding (Java Edition)

Last seen on 23:04, 6. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a mob spawn only in caves??

Im trying to make a mob spawn only in caves, i checked the biomes that were proposed in the list to where the mob spawns but i was unable to find the caves biome. How can I make it spawn in caves?

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could check for the y…
Thu, 06/25/2020 - 09:32

you could check for the y coordinate for the mob using the on entity spawn procedure trigger

if it is above 45 than despawn the mob instantly for example

Last seen on 23:04, 6. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
crispy_chips1234 But how do…
Fri, 06/26/2020 - 16:32

crispy_chips1234 But how do I check for the Y coordinate (im a huge noob sorry)

Last seen on 23:04, 6. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
crispy_chips1234  But how do…
Fri, 06/26/2020 - 16:33

crispy_chips1234  But how do I check for the Y coordinate (im a huge noob sorry)