Help, Check for multiple entitys alive

Started by R_XclusiveNL on

Topic category: Help with modding (Java Edition)

Last seen on 17:23, 7. Mar 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, Check for multiple entitys alive

Hihi

Im working on a specific fun mod, and every single thing has been thought of.

Only thing i have no idea to fix, that if there is multiple specific mobs alive or not

And if these mobs are alive, that it prevents to be spawned in ( even with command )

And that it will send a message to player

Can anyone help me with this procedure? and is it even possible?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
global trigger Entity Spawns…
Wed, 10/06/2021 - 15:20

global trigger Entity Spawns

if event target entity is type: MOB

do despawn event target entity

Last seen on 17:23, 7. Mar 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That only checks for 1…
Wed, 10/06/2021 - 15:24

That only checks for 1 specific mob right?

I want it to be like this example:

3 Diffrent boss zombies, Shadow zombie, Void Zombie, Ender Zombie

But only can spawn 1 of these, and once its dead you can spawn one of these again

but lets say the Shadow zombie is alive, it prevents from spawning Void zombie and ender zombie

 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you notice that will not…
Wed, 10/06/2021 - 16:06

do you notice that will not work for multiplayer right

Last seen on 17:23, 7. Mar 2023
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah i know i want to focus…
Wed, 10/06/2021 - 16:41

Yeah i know i want to focus this mod on singleplayer rn