What are you searching for?

Simple Weight

Simple Weight

This mod adds a weight value to any item, and debuff the player if carries too mutch weight

download 4 Downloads · favorite 1 Followers · Updated 1 month ago
Neoforge 1.21.1

Versions

inventory_2
Simple Weight 0.1.0-alpha

0.1.0-alpha · 1 month ago · 2.97 MB

Neoforge 1.21.1

About

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
  }
}

Support & Contributing

Reporting Issues

If you encounter bugs or have feature requests, please report them through the appropriate channels for the Tharidia Project.

Contributing

This mod is part of the Tharidia Project. Contributions should align with the project's goals and medieval fantasy roleplay theme.


Credits

Development Team: Frenk02 and THproject Team


License

GNU v3

open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel GPL-3.0-only

Conversation

What are your thoughts?

lock Cookie consent

SkinMC uses cookies to provide functionality and features.