Started by
theeminer20
on
Topic category: Help with Minecraft modding (Java Edition)
Blade that inflicts a potion effect on the victim.
I want to give ANY mob I attack the poison effect when using my weapon, no enchantments, just the weapon.
ANY help would be much appreciated!
its simple go to triggers, then to when entity is hit then add potion effect. sometime it won't work then click save mod element again then itahoul work
I tried this exact thing. This is under "entity hit with."
It doesn't work...
Well thier are several issues with the screenshot. 1, you have no specification of the weapon, which would cause every entity that got attacked at all to get poison. 2, you have "source entity" rather than "event/target entity" which would cause the attacker to gain the effect rather than the victim.
I did have specifications for what weapon/item the "Source Entity" is holding, but a tutorial I watched said to take it out.
And the "source entity" rather than "event/target entity", that's just my bad.
I did try following this tutorial, but it didn't work, I'm assuming it's outdated:
https://www.youtube.com/watch?v=PO2PdDKc4jg
Also, this is where I'm at now, and still no result:
Well in this screenshot you have taken out the additional trigger.
That worked!
But it still doesn't work on zombies, or skeletons.
zombies and skeletons are healed by poison per the vanilla game. Healing potions hurt them.
Same for phantoms and the whither. All undead are immune to poison/get hurt by healing.