← Назад к ресурсам

Encumbered (Player Weight)

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

Modrinth adventure game-mechanics management

Описание

### Overview --- This mod lets you add weight to items. The more items you carry, the more you weigh. ![Inventory User Interface](https://cdn.modrinth.com/data/cached_images/058bec1001f429f47c73a5eafe8193b926b036af.png) ![Weight Tooltip](https://cdn.modrinth.com/data/cached_images/6a9df3248d50e939a4c7e14098f9e8d59215ec99.png) ### How It Works --- There are three stages of encumberment: Unencumbered: You can move normally. ![Hotbar Weight Icon](https://cdn.modrinth.com/data/cached_images/3a225794aae0a120926c25bc7c942f51ed3c8720.png) Encumbered: You can no longer sprint. ![Encumbered Hotbar Icon](https://cdn.modrinth.com/data/cached_images/6e1f18bba972bc35d5fba092144769c6074dce2e.png) Over Encumbered: You can barely move (no sprinting, jumping, slower movement, and sinking in fluids). ![Over Encumbered Hotbar Icon](https://cdn.modrinth.com/data/cached_images/25210cfd643edca84b5cc540695ac13c51f69f87.png) ### 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. Others upon request to popular versions) --- More updates to come! Questions? Check us out on [Discord](https://discord.gg/B7FzPb7kJU) 🎮 Mod Setup 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: ```json { "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: ```json { "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.