bypass armor function

Started by geoffmann on

Topic category: Help with modding (Java Edition)

Last seen on 23:07, 23. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bypass armor function

Is it possible to make a weapon bypass armor? I want to make a mace that will do a consistent amount of damage across the board to any entity wearing metal armor, but I have no idea how to do something like that. Should I just make it do 0 damage and apply the amount of magic damage instead? If I do that is it possible to make the weapon's description show that amount instead of 0? I know if you set a negative damage value you're unable to hit mobs at all, is there a way to bypass that function? Sorry for the barrage of questions, I'm just very lost if you can't tell. Any help is appreciated, thank you.

Last seen on 07:21, 6. Apr 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am confused, do you want…
Tue, 12/21/2021 - 11:15

I am confused, do you want your mace to do less damage when you hit somebody wearing a specific armor?