90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Armour Weight 1.7
After a long, long time of Armour Weight being idle, I'm back with an update. (Hooray!)
What's changed?
Minor changes:
- Brought the "armour weight" bar back, with it's own texture.
- Made the weight bar move upward based off the amount of saturation/health a player has.
Major change(s):
- Added a brand-new system for datapacks that use Armour Weight's functionality. By creating a file, with a path like this:
data/armourweight/functions/your_item_name.mcfunction
you can make a function is run every tick that the item is equiped, and using the integer output of the CalculateWeight command, you can track the weight of a player alongside equipment. This function is run as the player.
Using this, you can implement whatever you want to happen at certain weights with certain gear, and implement interactions that are out of the scope of what I intend for effects. If you need extra configuration, try out the Java API as well!
Due to the function API this uses, 1.20.2 and lower will not work.
Let me know over on the issue tracker/discussions at github if you have any issues, ideas, or want to share a datapack you made!
Dependencies
Details
Licensed MIT
Published 2 years ago
Updated 8 months ago