One Time Mob

Started by RRTropical on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One Time Mob

I wanna make a boos mob that only spawns once. Like literally only 1 mob, like the wonder dragon there’s only 1 ender  dragon unless u re summon it, but that’s beside the point I want a boss that spawns once and after you kill it, that’s it. No more of that mob

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add one global…
Mon, 07/26/2021 - 23:03

You can add one global variable boolean, make this var start in false, and when the player summon the boss check if this variable is true, make the boss despawn, else the boss can be stayed in the world, when the mob die make this variable true.

 

You need to make the variable global with scope "Global_map".

asd

and you need to check this variable in the next trigger

asd