How to make a sword with regeneration effect after kill? | 2020.2 - 1.12.2

Started by rid on

Topic category: Help with modding (Java Edition)

Last seen on 16:19, 4. Apr 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a sword with regeneration effect after kill? | 2020.2 - 1.12.2

Hello!

Yeah basically the title say everything i want

 

best regrets

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
regeneration effect to the…
Mon, 03/21/2022 - 22:34

regeneration effect to the attacker or the victim?
for either one you should open the page of your tool, go to "Triggers" on the bottom, and then make a procedure for "When living entity is hit with tool" that applies regeneration

if it's the victim, leave it as Event/target entity, if it's the attacker replace Event/target entity with Source entity which can be found in the Minecraft components tab