Entity despawn on player death

Started by R0B0_YT on

Topic category: Help with modding (Java Edition)

Last seen on 14:48, 4. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity despawn on player death

How can you make an entity despawn after it kills a player. And im talking about just one specific entity and not any entity that kills a player

Last seen on 21:27, 21. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
simply do this
Mon, 03/11/2024 - 21:01

simply do this

""""

Last seen on 21:27, 21. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh wait you said make the…
Mon, 03/11/2024 - 21:01

oh wait you said make the entity despawn not die

Last seen on 21:27, 21. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just use this instead of…
Mon, 03/11/2024 - 21:03

just use this instead of setting health to 0

""