Started by
DPadderzs
on
Topic category: Help with Minecraft 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.
Use target / source entity blocks to select proper desired target for procedure
Sorry, how exactly would I do this? I have tried to link the procedure after adding the source entity, but apparently it is missing a dependency.
Here is a Screenshot, but if its not working switch Target and Source Entitiy Blocks:
If you select Global Trigger "Entity Attacked", then is the Event/Target Entity the Entity that you attacked and the Source Entity is the Entity where the Attack come from.
That means you need to set the Event/Target Entity for your Enchantment and for burning the Source Entity.
Thanks, that solved my problem!