Started by
TheProGamerDX
on
Topic category: Feature requests and ideas for MCreator
It would be really interesting to see new spawning conditions for mobs, either via new procedures or the "Create Living Entity" option.
I would like to see a minimum/maximum Y spawn condition to make special mobs spawn underground or a condition that makes mobs spawn on a certain block.
I whole-heartedly agree. That alone was one of the reasons I had to take on my "hybrid" approach to mod development. My mod is all about the underground and I had to custom code my own mob spawning mechanic to get it to work. (To make it worse, I also have mobs that spawn in lava, which could never be implemented as MC has absolutely no support for that)
However, it's not entirely MCreator's fault. Making mobs spawn on specific blocks isn't something that's coded into Minecraft or Forge, so MCreator would have to take an entirely custom approach. And, with the modularity of MCreator, it could be quite the undertaking to create something that works in every case.
If you want to use procedures, you could make one that fires every tick on Player Tick Event that detects a random block for spawn criteria, and spawn the entity if it matches.
Thank you for the info!