Mob spawning issue

Started by ItsTaRealChewie on Thu, 01/21/2021 - 02:49

Topic category: Help with modding (Java Edition)

Last seen on 11:01, 28. Feb 2021
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mob spawning issue
Thu, 01/21/2021 - 02:49

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.

Last seen on 14:42, 27. Jan 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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