This datapack is for all of the datapack developers who need a custom stats system but doesn't know how to do it.
- Custom damage
- Custom mob stats
- Custom player stats
- Custom armor stats and full set bonuses
- Custom weapon stats
- Multiplayer compatibility (?)
This datapack uses a datapack from Cloud Wolf that basicly allows us to detect who the attacker is and who is the victim, I know that we have /execute on attacker but this datapack was developed before that command was introduced, nonetheless it still works and its very powerfull. You can check out his datapack here.
I made a video in my youtube channel explaining how it works and how to add custom weapons, armor and mobs with custom stats.
A: Maybe, personally I haven't tested in older versions than 1.19 but I think it should work all the way down to 1.13. Just download the 1.19 version with the resourcepack and I think it should work, just change inside the pack.mcmeta of both the datapack and resourcepack the "pack_format" value to the desired one (take in mind that it may not work).
A: Yes it does (in theory, I didn't tested it but it should).
A: Yes you can, but only say who the original creator is (me) and if you link the original Modrinth page somewhere noticeable in the project.
A: Yes, I think I already know what my next project will be but only time will say.
It is not an actual bug but its important that I say it: Don't do /reload when wearing a custom armor, this is due to the fact that in load.mcfunction we reset the stats of the player, just remove that and put it in a separate function.
If you have found any bugs or have any suggestion, please reach out to me at my discord server.