Started by
Ello.-'_@
on
Topic category: Help with Minecraft modding (Java Edition)
how do i make armor resistant to effects, like poison? i am making a mod with element dimensions, like poison, but how do i make armor that is resistant to poison?
On armor tick:
If entity has effect: poison
Execute command /effect clear @e minecraft:poison
Thanks a lot!
Wouldn't that clear all of the entities poison effects?, for example if 2 players have it and it executes the command /effect clear @e minecraft:poison
And yes i awknowledge that you meant that for a singleplayer world but if it's in multiplayer it'd be like
On armor tick:
If entity has effect: poison
remove specific effect poison from entity