promotional bannermobile promotional banner
premium banner
This mod add a weight value to all the items, and debuff the player if carries too much weight with it

Description

Tharidia: Simple Weight

โš ๏ธ ALPHA VERSION - UNDER ACTIVE DEVELOPMENT โš ๏ธ

This mod is currently in an alpha state and is being actively developed. Features may change, and bugs may be present. Use at your own risk in production environments.


About the Tharidia Project

Tharidia is an ambitious Minecraft roleplay server project set in a medieval fantasy world. The server features complex, custom mechanics that significantly diverge from vanilla Minecraft gameplay, creating a unique roleplay experience focused on medieval life with fantasy elements.

The Tharidia Project consists of multiple interconnected mods that work together to create this immersive experience. Simple Weight is one of these modular components, extracted from the main Tharidia Things mod to allow for independent deployment and maintenance alongside other Tharidia mods.


What This Mod Does

Tharidia: Simple Weight implements a realistic weight system that affects player movement based on their inventory load. This mechanic adds a layer of realism and strategic inventory management to the Tharidia roleplay experience.

Core Features

๐ŸŽ’ Dynamic Weight Calculation

  • Every item in your inventory has a weight value
  • Total weight is calculated in real-time as you pick up or drop items
  • Weight values are fully configurable via datapacks

๐Ÿƒ Movement Speed Penalties

  • Carrying heavy loads slows down your movement speed
  • The more weight you carry, the slower you move
  • Speed reduction is gradual and proportional to your total weight
  • Uses Minecraft's attribute system for smooth, compatible speed modifications

๐ŸŠ Swimming Restrictions

  • When overencumbered, you cannot swim upward in water
  • Simulates the difficulty of swimming with heavy equipment
  • Adds strategic considerations for water crossings and exploration

โš™๏ธ Datapack Configuration

  • Define custom weight values for any item via JSON datapacks
  • Server administrators can fine-tune the weight system to their needs
  • Default weight values provided for common items (ores, blocks, tools, etc.)

๐Ÿ‘‘ Master/OP Bypass

  • Players with operator permissions automatically bypass the weight system
  • Useful for server administration and testing
  • Can be easily modified in the code if different behavior is desired

๐Ÿš€ Performance Optimized

  • Player batching system distributes processing load across ticks
  • Designed to handle large servers with many players
  • Minimal performance impact even on busy servers

Configuration

Default Weight Values

The mod comes with default weight values for common items:

  • Heavy Items (10.0 weight): Anvils, Netherite blocks
  • Medium-Heavy Items (5.0 weight): Iron blocks, Gold blocks, Diamond blocks
  • Medium Items (2.0 weight): Iron ingots, Gold ingots
  • Light Items (0.5 weight): Diamonds, Emeralds
  • Very Light Items (0.1 weight): Most other items

Custom Datapack Configuration

You can create custom weight configurations using datapacks. Place JSON files in:

datapacks/your_datapack/data/tharidia_simpleweight/weight/items.json

Example configuration:

{
  "weights": {
    "minecraft:iron_ingot": 2.0,
    "minecraft:gold_ingot": 2.5,
    "minecraft:diamond": 0.5,
    "minecraft:netherite_ingot": 3.0
  }
}

DISCORD

If you need any more info about this mod or the Tharidia Project join the discord HERE.


Credits

Development Team: Frenk02 and THproject Team


License

GNU v3