Armour Weight

Armour Weight

Mod

A highly configurable mod that makes combat more enjoyable

Server EquipmentGame MechanicsLibrary

80.2k downloads
50 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...

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!

Not much of note client-side (apart from 1.20.2 support), but a lot of API changes have happened (docs coming alongside a standalone addon).

Note:
The HUD elements are broken because i was too lazy to port the breaking hud changes over to 1.20.2.

Armour Weight 1.5

  • fixed a few bugs, made sure that air wasn't calculated.
  • updated to 1.20.x

You now can easily create your own new weight definitions, by filling out a .json file in a datapack! Just put your custom definition in the armourweight/weightdata directory, and it should work. Documentation for this will come... eventually, when I remember to.

  • fixed a few bugs
  • added a sources jar for developers

should solve this issue, by removing some code that wasn't used.

Armour Weight 1.3

  • Updated to support 1.19.4
  • The weight bar can be toggled in config now
  • added the ability to calculate weight via the CalculateWeight command. This will return as the weight * 10 however, so do keep that in mind when storing it.

Armour Weight 1.1

Brings many fixes, such as language files and an icon. Debugging has also been made a bit easier.

mod release


Project members

AnOpenSauceDev

Owner

Details

Licensed MIT
Published 2 years ago
Updated 9 months ago