How do I make a bow that kills you after using it?

Started by versai on

Topic category: Help with modding (Java Edition)

Last seen on 06:48, 26. Feb 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a bow that kills you after using it?

I've been trying to make a bow that kills you after using it once. Does anybody got any idea on how to make it like that?

Last seen on 12:31, 22. Jan 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
find "Triggers", go to when…
Tue, 03/22/2022 - 20:08

find "Triggers", go to when the ranged item is used, then make a procedure that kills the Source entity, which can be found in the Minecraft components tab

Event/target entity is the receiver, in your case it's the entity being shot, Source entity is the giver which is the entity shooting the bow which is you