Topic category: Help with modding (Java Edition)
I would like to make a chestplate that, when an enemy attacks you, the enemy is set on fire. I have made the chestplate and know the procedures to set the entity on fire, but I do not know how to select the enemy as the one being burnt. I have tried, but it has only set me on fire. Any help? I have searched for this online and have not found any posts on it.