Im trying to make a sword that ignores armor

Started by turtlemaster852 on

Topic category: Help with modding (Java Edition)

Last seen on 07:37, 2. Dec 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im trying to make a sword that ignores armor

Im trying to make a sword that does the same damage regardless of how much armor your wearing

i've tried making a procedure that triggers "when living entity is hit by tool" and deals magic damage to the entity being attacked but even then it doesnt ignore the armor that your wearing, i've even tried changing the damage source to void and it still doesnt work

Last seen on 06:49, 31. Dec 2023
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
basiclydo if entity hit by…
Tue, 12/19/2023 - 02:09

basicly
do if entity hit by the weapon (set health to (current health - the dmg))
and that should ignore armor