Started by
Tiyoy69
on
Topic category: Help with MCreator software
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.
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.
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.