promotional bannermobile promotional banner
premium banner
A configurable weight mod that lets you add a weight to every item in the game. No more carrying the universe in your pocket.

Description

Overview


This mod lets you add weight to items. The more items you carry, the more you weigh.

How It Works


There are three stages of encumberment:

Unencumbered: You can move normally.

Weight UI

Encumbered: You can no longer sprint.

Weight UI

Over Encumbered: You can barely move (no sprinting, jumping, slower movement, and sinking in fluids).

Weight UI

Features


  • ๐Ÿ”ง Configurable weights, encumberment thresholds, and UI.
  • ๐ŸŽ’ Support for shulker boxes and some backpack mods (Sophisticated Backpacks).
  • ๐ŸŽ Riding entities takes into account your weight
  • โœˆ๏ธ Elytra considers weight
  • ๐Ÿ–ฅ๏ธ User-friendly GUI with a helpful weight indicator icon.
  • ๐ŸŒ Multiplayer support!

Planned Features


  • ๐Ÿ”„ Further mod support (Curios Slot, Backpacks, etc.).
  • Version back/forward porting (1.20.x and above upon request)

More updates to come! Check us out on Discord ๐ŸŽฎ

NOTE: Only version 1.21.1 works as described here. 1.20.1 only works client side and needs redone still when I backport.

-=-=-=-=-=-=-=-=-=-=-=-=-=SPOILERS=-=-=-=-=-=-=-=-=-=-=-=-=-

Modifying Weight Values


In order to modify weight values, you must create a datapack to override or add your own mod's weight values. The datapack should be dropped in the world's datapacks folder.

Datapack Example:

-DataPackName
|-pack.mcmeta
|-data
 |-encumbered
  |-data_maps
   |-item
    |-item_weights.json

item_weights.json should be in the format:

{
  "values": {
    "minecraft:stone": {
      "replace": true,
      "value": {
        "weight": 12.0
      }
    },
    "modid:item": {
      "replace": true,
      "value": {
        "weight": 1.0
      }
    },
    "#minecraft:logs": {
      "replace": true,
      "value": {
        "weight": 10.0
      }
    }
}

The pack.mcmeta file should look like this:

{
    "pack": {
        "pack_format": 34,
        "description": "Pack Description Here"
    }
}

Configs

  • Config/encumbered-client.toml:
    • Contains configs that are independent of the server. Each player can modify these values at will on their client
  • Config/encumbered-server.toml:
    • Contains configs that are consistent across all players. Anything changed here will change for all players.