Armour Weight 图标

Armour Weight

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.3 1.20.4

平台: fabric quilt

标签: equipment game-mechanics library

资源介绍

Armour Weight

Requires cloth config

Armour Weight is a very configurable utility/game mechanics mod. Where players used to go into battle with full netherite has now been replaced with a much better system that prioritizes unique armour layouts. Players will now have to account for the weight of their armour, with heavy armour offering better defence at the cost of lots of speed.

footage

Developers

Armour Weight has an API! see wiki for documentation

This allows you to easily add your own weight definitions for your modded armour in just 2 lines of code. (smaller code snippet below)

    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
    }

Armour Weight also has datapack support (1.4 and up), allowing you to define weight easily with zero programming knowledge!

In data/armourweight/weightdata/[any name].json...

{
 "id_namespace": "your_mod_id",
 "id_path": "your_item_name",
 "weight": PUT_NUMBER_HERE,
"type": "type_here"
}

id_namespace - your mod id's namespace, (i.e. the minecraft in minecraft:dirt )

id_path - your mod's path name (i.e. the dirt in minecraft:dirt)

weight - how much your item weighs (decimal values allowed).

type - what type your armour is. Can be: boots,head,chest,leggings. Anything else will be treated as other.

please note that Armour Weight will generate weights automatically if it thinks a weight value is broken/doesn't exist, so make sure it's actually using YOUR weight value.

Modpacks

You are 100% allowed to bundle this into your Modpacks!

planned features

  • Trinkets support
  • a much more robust config setup.
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
One Block Horror

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

查看详情
no f3

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

查看详情
Anti Blindness

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

查看详情
Flower Expansion [Cobblemon]

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

查看详情