Making mobs spawn at low y levels

Started by Juplicate on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making mobs spawn at low y levels

Is there a way to make a custom mob spawn below a certain y level, for example y level 50.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on initial entity spawn…
Tue, 06/30/2020 - 01:32

on initial entity spawn procedure trigger use something like this:
if(get y of target entity >50){

despawn target entity();

}