Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_vHajeVaM.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Equipment Weight - 墨喵 Minecraft 资源
Equipment Weight 图标

Equipment Weight

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 3.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/equipment-weight
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: fabric

标签: adventure equipment library

资源介绍

Equipment Weight

This mod adds a weight system for equipment.

This mod is an API for mod and data pack authors. It does nothing on its own.

Implementation

The ratio of the two new entity attributes _generic.equipmentweight and _generic.max_equipmentweight is compared to a configurable list of values. When the ratio is equal or greater than one of the values the corresponding status effect is applied. Only one status effect will be applied.

The default attribute values are:

  • 0.0 for _generic.equipmentweight
  • 10.0 for _generic.max_equipmentweight

Configuration

The server config contains a map of float values to strings. The strings should be valid identifiers for status effects. Invalid strings are ignored.

Example

"weight_effects": {
    "0.2": "minecraft:strength",
    "0.5": "minecraft:haste",
    "0.4": "minecraft:regeneration",
    "1.0": "minecraft:glowing"
}

Using this config and the default value for _generic.max_equipmentweight a LivingEntity with a _generic.equipmentweight of 5.0 would be affected by the "Haste" effect.
Changing the value of _generic.equipmentweight to 3.0 would remove the "Haste" effect and apply the "Strength" effect

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
SlimLine

价格:0 墨喵币
下载量:0

查看详情
Alkatraz Magic

价格:0 墨喵币
下载量:0

查看详情
Cloche Creations

价格:0 墨喵币
下载量:0

查看详情
KFC

价格:0 墨喵币
下载量:0

查看详情