HomeJavaModsEquipment Weight
Equipment Weight
ModsJava

Equipment Weight

by TheRedBrain · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.2⬇ Download for 1.21.1⬇ Download for 1.20.1
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Equipment Weight

This mod adds a weight system for equipment.

This mod is an API for mod and data pack authors. It does nothing on its own.

Implementation

The ratio of the two new entity attributes generic.equipment_weight and generic.max_equipment_weight is compared to a configurable list of values. When the ratio is equal or greater than one of the values the corresponding status effect is applied. Only one status effect will be applied.

The default attribute values are:

Configuration

The server config contains a map of float values to strings. The strings should be valid identifiers for status effects. Invalid strings are ignored.

Example

"weight_effects": {
    "0.2": "minecraft:strength",
    "0.5": "minecraft:haste",
    "0.4": "minecraft:regeneration",
    "1.0": "minecraft:glowing"
}

Using this config and the default value for generic.max_equipment_weight a LivingEntity with a generic.equipment_weight of 5.0 would be affected by the "Haste" effect. Changing the value of generic.equipment_weight to 3.0 would remove the "Haste" effect and apply the "Strength" effect

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more