Mob spawning issue

Started by ItsTaRealChewie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob spawning issue

So, I'm working on a mod and made mobs for a dimension, but the mobs seem to always spawn underground, and almost NEVER on the surface.

They successfully spawn in the dimension, but it's always underground, and I would like to make it so it spawns equally on the surface and underground.

I've tried doing:

--

Natural entity spawning condition,

 if [y > 60] , return true

 do

 return false

--

But that didn't seem to work at all, I've been trying to make the spawning through the biome and or the mob, doing both at the same time, and then other times just the mob or just the biome, but everything I tried didn't work.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its hard to say whats wrong…
Tue, 01/26/2021 - 16:43

its hard to say whats wrong but many custom dimensions have hard time spawning mobs it may be becuase of block legths light levels or maybe block gen but its hard to tell i could use more info thanks