Started by
Physics
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make an armour set which while worn, allows the user to inflict any entity poison by hitting it. Is this possible? If yes, how exactly can I do so?
you can try giving an NBT tag to the player wearing the armour
When entity attacked global trigger:
If not is provided world client-side(to fix 'ghost effect' bug)
If source entity wearing your armor(get item from armor slot (number) of source entity(changed from original) = your armor)
Add effect poison to event target entity
I don't know if this topic is still active, but that procedure will work for what you want.