Help: Despawn 1 if there is 2 of the same mob

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: Despawn 1 if there is 2 of the same mob

How do i make a procedure to where there is only 1 of the same specific entity is allowed.

Lets say i spawn a wither with a egg, that one is allowed to be spawned.

But if i try to spawn another one it despawns that one, and let the first spawned wither be alive

Is this doable?

Last seen on 15:24, 24. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If "does exist in radius"…
Thu, 10/07/2021 - 05:47

If "does exist in radius" block with despawn mob

 

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
doesnt that despawn all mobs…
Thu, 10/07/2021 - 07:24

doesnt that despawn all mobs around that area?

Last seen on 15:24, 24. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob A tick update: if mob B…
Thu, 10/07/2021 - 09:55

Mob A tick update: if mob B exist do despawn mob A

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i get Mob A tick…
Thu, 10/07/2021 - 10:56

How do i get Mob A tick update ?

Last seen on 15:24, 24. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mmm.... not sure of what you…
Thu, 10/07/2021 - 12:40

mmm.... not sure of what you mean.

Update tick is one of the triggers inside MOB entity