Topic category: Help with Minecraft modding (Java Edition)
Hey there MCreator community! I'm a long-time user but I've never really delved into making enchantments with the software before. As I understand it, enchants that don't directly affect damage taken (similar to protection) need to be activated via global procedures. There's only one issue: I wanted to make an enchantment that is applicable to shields and gives the player extra armour points when held in their main-hand/off-hand, but I can't figure out a way to make it so. One solution I had was to modify the shield's attributes directly so that it simply gave armor when held in the main-hand/off-hand, but like I said before I can't figure out a way to do it.
Any help with this would be greatly appreciated!
https://youtu.be/HpIgP_puEGI use this tutorial by pylo
just give absorption or health boost to the event/target entity
I recommend checking out Azzier's Attributes plugin(https://mcreator.net/plugin/88645/azziers-tools). If you're using 1.16 tho, check out the comments and go to the github so you can download it. (The 1.16 file is currently not working)
I'd just uploaded a video explaining my methods of achieving a usable Attribute Affecting enchantment system.
I know this is necroposting, but I'm sure there are others prowling the Forums looking for a solution, haha.