How can I a weapon make enchantment that ignores enemy's armor points?

Started by Tiyoy69 on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I a weapon make enchantment that ignores enemy's armor points?

I'm pretty new to this software so normally I need some help on how to make an enchantment which ignores enemy's armor points. The procedures are also confusing for me, sooo your helps are very much appreciated.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The damage system is kind of…
Tue, 07/18/2023 - 02:51

The damage system is kind of hard coded into minecraft. However, if you make your enchantment deal magic damage, (like a potion, warden attack, vexes, etc); this will ignore armor. The Sharpness Enchantment does something pretty similar.

Make a procedure that triggers when an entity is attacked. Check if the item in the main hand of the source entity, (the entity attacking), has the enchantment. If it does, deal magic damage to the target entity (the entity being attacked). You could also make the amount of damage depend on the strength of the enchantment.

Keep in mind, though, that the weapon will still deal physical damage in this case- I'm not sure if there's a good way to disable this. 

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use this Plugin and…
Fri, 08/25/2023 - 11:11

You can use this Plugin and with this Plugin you can change the Damage Source etc. or create new ones. But to change the Damage Source of an Attack is not possible yet without a Plugin like mine that is currently in WIP or wait for the Full Release of 2023.3 because there you can set the Damage and get the Damage Source for the Befor Entity Hurt Global Trigger etc.

 

If you want to that I help you can Contact me on Discord. You can find the Discord Name on my Profile Page.