How to make a mob spawn only in caves??

Started by RasorVolt on

Topic category: Help with Minecraft modding (Java Edition)

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?

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

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)

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)