HeartSwap on death

Started by ElectricHD on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
HeartSwap on death

So the idea for this is when you kill someone, you swap hearts with them. Its simple enough, but I am a noob when it comes to modding so I dont really know how, does anyone else know? (If anyone also knows how to make it so when someone joins for the first time they spawn in with 10-20 hearts also please say something) 

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1. if u would swap their…
Mon, 10/31/2022 - 02:33

1. if u would swap their hearts they would both die cuz u swap 0 hearts on death so what did u expect?
2. u can do it by taking victim hearts using nbt blocks and setting them for attacker hearts using another nbt block