How to despawn a bullet if another one is spawned (Unsolved)

Started by Stoutscientist on Thu, 09/02/2021 - 00:09

Topic category: Help with modding (Java Edition)

Last seen on 03:23, 24. Oct 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to despawn a bullet if another one is spawned (Unsolved)
Thu, 09/02/2021 - 12:49 (edited)

I'm adding rush pearls to the game and I want to make it so when you throw 2 the first one you threw gets de-spawned. I have the code to de-spawn it but not how to detect when to despawn.

 

Thanks!

Edited by Stoutscientist on Thu, 09/02/2021 - 12:49