介绍
护甲重量是一个非常可配置的实用/游戏机制模组。玩家过去可能会全副武装进入战斗,现在被一个更好的系统所取代,这个系统优先考虑独特的护甲配置。玩家现在必须考虑护甲的重量,重型护甲提供更好的防御,但会牺牲很多速度。
开发者
护甲重量拥有一个[API!](
这使您可以在[仅使用2行代码](
public static armourWeightDef exampledef = new armourWeightDef(armourType.CHEST,1f,Example_Chestplate); // define the weight for our example chestplate
@Override
public void onInitialize() {
WeightUtil.addElement(exampledef); // register our armour
}
已复制!
护甲重量还支持数据包 _(1.4及更高版本)_,允许您轻松定义重量,无需任何编程知识!
{
"id_namespace": "your_mod_id",
"id_path": "your_item_name",
"weight": PUT_NUMBER_HERE,
"type": "type_here"
}
已复制!
`id_namespace` - 您的模组ID的命名空间(例如,`minecraft:dirt`中的`minecraft`)
`id_path` - 您的模组的路径名称(例如,`minecraft:dirt`中的`dirt`)
`weight` - 您的物品重量(允许使用小数值)。
`type` - 您的护甲类型。可以是:`boots`、`head`、`chest`、`leggings`。其他任何内容都将被视为`other`。
请注意,如果护甲重量认为重量值不正确/不存在,它将自动生成权重值,因此请确保它实际上使用的是您的权重值。
模组包
您完全可以将其捆绑到您的模组包中!
计划功能
- 饰品支持
- 更加健全的配置设置
来自Modrinth
Armour Weight 1.7
armourweight-1.7.jar下载1.7#Release
armourweight-1.7-sources.jar下载1.7#Release
# Armour Weight 1.7
After a long, long time of Armour Weight being idle, I'm back with an update. (Hooray!)
What's changed?
Minor changes:
- Brought the "armour weight" bar back, with it's own texture.
- Made the weight bar move upward based off the amount of saturation/health a player has.
Major change(s):
- Added a brand-new system for datapacks that use Armour Weight's functionality. By creating a file, with a path like this: `data/armourweight/functions/your_item_name.mcfunction`
you can make a function is run every tick that the item is equiped, and using the integer output of the CalculateWeight command, you can track the weight of a player alongside equipment. This function is run as the player.
Using this, you can implement whatever you want to happen at certain weights with certain gear, and implement interactions that are out of the scope of what I intend for effects. If you need extra configuration, try out the Java API as well!
Due to the function API this uses, 1.20.2 and lower will not work.
Let me know over on the issue tracker/discussions at github if you have any issues, ideas, or want to share a datapack you made!
After a long, long time of Armour Weight being idle, I'm back with an update. (Hooray!)
What's changed?
Minor changes:
- Brought the "armour weight" bar back, with it's own texture.
- Made the weight bar move upward based off the amount of saturation/health a player has.
Major change(s):
- Added a brand-new system for datapacks that use Armour Weight's functionality. By creating a file, with a path like this: `data/armourweight/functions/your_item_name.mcfunction`
you can make a function is run every tick that the item is equiped, and using the integer output of the CalculateWeight command, you can track the weight of a player alongside equipment. This function is run as the player.
Using this, you can implement whatever you want to happen at certain weights with certain gear, and implement interactions that are out of the scope of what I intend for effects. If you need extra configuration, try out the Java API as well!
Due to the function API this uses, 1.20.2 and lower will not work.
Let me know over on the issue tracker/discussions at github if you have any issues, ideas, or want to share a datapack you made!
展开
版本: 1.7
支持游戏: 1.20.3, 1.20.4
类型: Fabric Quilt
Release
下载次数: 423
Armour Weight 1.6
Armour Weight 1.6.jar下载1.6#Release
Armour Weight 1.6 SOURCES.jar下载1.6#Release
Not much of note client-side (apart from 1.20.2 support), but a lot of API changes have happened (docs coming alongside a standalone addon).
> Note: <br>
> The HUD elements are broken because i was too lazy to port the breaking hud changes over to 1.20.2.
> Note: <br>
> The HUD elements are broken because i was too lazy to port the breaking hud changes over to 1.20.2.
展开
版本: 1.6
支持游戏: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型: Fabric
Release
下载次数: 100,149
Armour Weight 1.5 - 1.20+
Armor Weight 1.5.jar下载1.5#Release
armourweight-1.5-SNAPSHOT-sources.jar下载1.5#Release
# Armour Weight 1.5
- fixed a few bugs, made sure that air wasn't calculated.
- updated to 1.20.x
- fixed a few bugs, made sure that air wasn't calculated.
- updated to 1.20.x
展开
版本: 1.5
支持游戏: 1.20, 1.20.1
类型: Fabric
Release
下载次数: 2,514
收录