Download Armour Weight — Minecraft Mods — MetaMods

Armour Weight

Active

Downloads

0

Last update

1 year ago

Versions

1.19 — 1.20.4
Server
Fabric
Quilt
Weapons and armor
Game mechanics
Libraries
Utils

Armour Weight

Requires cloth config

Armour Weight is a versatile addon with extensive customization options that fundamentally transforms gameplay mechanics. The traditional combat strategy of wearing full netherite armor is now a thing of the past, replaced by a more sophisticated system where the choice of specific armor combinations plays a crucial role. Players must consider the weight of their equipment: heavy armor provides excellent protection but significantly reduces movement speed.

demonstration

For Developers

Armour Weight includes an API! documentation is available in the wiki
With it, you can easily add custom weight parameters for armor from other mods by writing just two lines of code. (code example below)

    public static armourWeightDef exampleDef = new armourWeightDef(armourType.CHEST, 1f, Example_Chestplate); // define weight for our example chestplate

    @Override
    public void onInitialize() { 
        WeightUtil.addElement(exampleDef); // register our armor
    }

Starting from version 1.4, Armour Weight supports datapacks, allowing you to set weight without any programming knowledge!

In the file data/armourweight/weightdata/[any name].json...

{
 "id_namespace": "your_mod_identifier",
 "id_path": "your_item_name",
 "weight": INSERT_NUMBER_HERE,
"type": "type_here"
}

id_namespace - your mod's identifier namespace (e.g., minecraft in minecraft:dirt)
id_path - your item's name path (e.g., dirt in minecraft:dirt)
weight - weight of your item (decimal values allowed).
type - type of your armor. Can be: boots, head, chest, leggings. Any other value will be treated as other.

Please note that Armour Weight automatically generates weight values if it considers them incorrect or missing, so make sure it's using YOUR weight value.

Modpacks

You are free to include this mod in your mod collections!

Planned Features

  • Support for Trinkets
  • More advanced configuration system
Project members
AnOpenSauceDev

AnOpenSauceDev

Developer

Created: 24 Jan 2023

ID: 2080