Topic category: Help with modding (Java Edition)
I recently made my mod have a /heal command that reset's your health to max. I wanted to know how I could use this command to heal my friends doing something like /heal @e or /heal (Playername). How would I do this? And how would I do something even more advanced like /heal @e[type=iron_golem]?