Armour Weight

Armour Weight

Mod

A highly configurable mod that makes combat more enjoyable

Server EquipmentGame MechanicsLibrary

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

Armour Weight

Requires cloth config

Armour Weight is a very configurable utility/game mechanics mod. Where players used to go into battle with full netherite has now been replaced with a much better system that prioritizes unique armour layouts. Players will now have to account for the weight of their armour, with heavy armour offering better defence at the cost of lots of speed.

footage

Developers

Armour Weight has an API! see wiki for documentation
This allows you to easily add your own weight definitions for your modded armour in just 2 lines of code. (smaller code snippet below)

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

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

Armour Weight also has datapack support (1.4 and up), allowing you to define weight easily with zero programming knowledge!

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

{
 "id_namespace": "your_mod_id",
 "id_path": "your_item_name",
 "weight": PUT_NUMBER_HERE,
"type": "type_here"
}

id_namespace - your mod id's namespace, (i.e. the minecraft in minecraft:dirt )
id_path - your mod's path name (i.e. the dirt in minecraft:dirt)
weight - how much your item weighs (decimal values allowed).
type - what type your armour is. Can be: boots,head,chest,leggings. Anything else will be treated as other.

please note that Armour Weight will generate weights automatically if it thinks a weight value is broken/doesn't exist, so make sure it's actually using YOUR weight value.

Modpacks

You are 100% allowed to bundle this into your Modpacks!

planned features

  • Trinkets support
  • a much more robust config setup.

Project members

AnOpenSauceDev

Owner

Details

Licensed MIT
Published 2 years ago
Updated 9 months ago