Started by
Bandydak
on
Topic category: Help with Minecraft modding (Java Edition)
I created mod that adds weapon that deals 9999999 dmg and armor that has 99 defense and resistance 4, i wont nerf weapon and i cant make armor stronger but i would like to make it that armor caps the damage you can take at 50 (armor is so strong that it will deal barely any damage)
Edited by Bandydak on Thu, 09/05/2024 - 13:28
This is hard to explain with text so i'll just leave an image,
in summary: you detect when someone is attacked, if they are wearing your armor and the atacker uses the sword, it cancels the damage and it damages them for your custom amoun of damage.