Player Weight
Have you ever felt that being able to hold entire cubic meters of material in your inventory was just a smidge too unrealistic?
介绍
Player Weight
Player Weight is a Minecraft fabric mod that adds weight values to all items, along with configurable penalties for breaching weight thresholds.
Player Weight is required on the server, and optionally the client.
Configuration
Player Weight is config-driven; you can change all (reasonable) aspects of the mod using the config.
For example, you could make every item with ‘dirt’ in its name completely weightless, by adding an entry to the config.
The config has support for ModMenu, allowing in-game modification as well as being more user-friendly.
By default, the config adjusts the weight of some obvious items to a predetermined value to save you time setting the mod up, however you are free to remove the preset values if you like.
Below is the config entry that prevents air from adding weight to the user’s inventory.
{
"text": "Air",
"modifier": 0.0,
"type": "PLAIN"
}
Note: setting the weightModifiersAreMultiplicative true/false value in the config to false will not prevent this entry, specifically, from having its weight set to zero.
In each config entry, there are three fields:
text: This is the text that the mod will use to determine if a given item should have its weight modifiedmodifier: By default, this value will multiply an item’s weight by this amount. However, shouldweightModifiersAreMultiplicativebe false, this will add to the item’s weight insteadtype: This specifies how the mod should use thetextfield in checking if an item is valid for the modifier. It has four possible values:PLAIN, where the mod will simply check iftextis contained within the item’s ID,REGEX, where the mod will compiletextas a regular expression and check if the item’s ID matches,ITEM, where the mod will check if the item’s ID matches text exactly, and finally,TAG, where it will check if an item is contained within a given tag.
For example, if I wanted only another_mod:sludgeball to have 1/10th of the weight it normally would, I would create an entry like this:
{
"text": "another_mod:sludgeball",
"modifier": 0.1,
"type": "ITEM"
}
weightPunishments is another list of entries inside the config file.
A punishment entry looks something like this:
{
"type": "SPEED",
"value": 0.9,
"begin": 0.8,
"scaleWithWeight": true
}
This entry sets a player’s speed to 90% of their original speed when their weight exceeds 80% of their maximum. The scaleWithWeight true/false value makes the effect become more and more pronounced the more weight the player tacks on.
常见问题
Player Weight 支持哪些 Minecraft 版本?
Player Weight 支持 Minecraft Java 版 1.19–1.20.4,共 9 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Player Weight 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
alfuwu 的其他作品
查看全部 →
Armor Cosmetics
Don't let anyone tell you that your adventure has no pizzazz
MCAI
MCAI is a mod that serves as an intermediary between Minecraft and Character AI.
Mortui
Embrace undeath
Mortui
Embrace undeath
评论
登录后评论和评分