跳到正文

Simple Weight

作者:Frenk02

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

🔗 Useful Link

Discord


Credits

Development Team: Frenk02 and THproject Team


License

GNU v3

常见问题

Simple Weight 支持哪些 Minecraft 版本?

Simple Weight 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Simple Weight 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Frenk02 的其他作品

查看全部 →