I have been searching all over the web and I couldn't find a thing on making a sword do infinite damage. I have also tried many things in my code but none of them work.
If you want to make a sword kill anything, instead of trying to make it do infinite damage, how about you just kill the mob (set its health to 0) when it hurts something?
Rollback Post to RevisionRollBack
My Mods:
Working on updating Little Maid Mod to 1.12 with my own twist. I am a Japanese anime fan :3 Teasers here
Blood Baubles - An addon for BloodMagic that adds related Baubles to the game. (Currently on hold)
Blood Magic Wiki - A Blood Mages Choice Encylopedia (Currently on hold)
LazyModder- A libary that makes modding easier. Currently being developed for 1.12)
Deobfuscator - A program used to deobfuscate obfuscated mods.
I have been searching all over the web and I couldn't find a thing on making a sword do infinite damage. I have also tried many things in my code but none of them work.
If you want to make a sword kill anything, instead of trying to make it do infinite damage, how about you just kill the mob (set its health to 0) when it hurts something?
My Mods:
- Happy Coding -
The only problem is that the mob wouldn't drop anything
Simply override this method.