Topic category: Help with Minecraft modding (Java Edition)
I'm creating a modpack in 1.16.4 based on DDSS (1.12.2). I download all the mods available for the version, but I'm having a problem with Avaritia Lite. The armor is very very strong and it's almost impossible your life decrease, but you still receive debuffs (wither effect, poison, instant harm, etc). So I decide create my own mod and make an armor with the same skin, but differente properties. How do I create an armor strong enough to don't receive damage from any mob and don't be affected by negative status?
Another problem is that I don't have the ability of fly. Isn't too important 'cause I have an angel ring, but will be cool have the armor more near of the original Avaritia.
UPDATE:
I test and using the command " /effect clear @p [effect] " I can remove negative effects, but how I check if the player is suffering a debuff?
I can help you with the ability to fly, watch this video and you can fly https://www.youtube.com/watch?v=nlFjvLJiM1U&feature=emb_logo
Thank you ^^
You're welcome, I'm glad I could help)
no need to check for debuff!
execute command:/effect clear @p [BadEffect1]
execute command:/effect clear @p[BadEffect2]
...
clear every debuff.if there isn't it won't do anything.
keep in mind that it may make a lot of stuff like
succesfully cleared effect Nausea from SomePlayer
ERROR:SomePlayer does not have effect Poison
ERROR:SomePlayer does not have effect Wither
...