Restrict entity spawn per dimension and height.

Published by aidanete on
Status
Fixed
Issue description

I want to restrict entity spawning per dimension and select the min and max height, or at least select if underground/surface etc.

I know the entity spawning can be done per dimension setting the dimension biomes to spawn, but when you have a lot of biomes for the dimension and a lot of mobs for that dimension, it's very annoying to put each one the biomes and etc.

Also selecting the minimum height and max height to spawn the entity, or at least select if underground, surface or air, but I prefer min and max height

Issue comments

You can do advanced control over mob spawning using on initial mob spawn procedure trigger. In this trigger, you make your own checking logic and if it is not fulfilled, you call despawn entity procedure block to despawn it before it gets spawned in the world.