Durability Hud 图标

Durability Hud

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.3

平台: datapack

标签: equipment management utility

资源介绍

Displays current durability of Tools and Armor!

A screenshot from in game

How to Install

Insall in Pre-existing world

  1. Download the datapack
  2. Put the zip file in the /datapack folder of your world-save %appdata%/.minecraft/saves
  3. Full path should be something like C:\Users\[USERNAME]\AppData\Roaming\.minecraft\saves\[WORLDNAME]\datapacks
  4. run /reload in game

    Insall in a New world

  5. Download the datapack
  6. Start creating a new world
  7. Click the More Tab
  8. Click the Datapacks Button
  9. Click Open Pack Folder, put the downloaded zip file in the explorer window
  10. run /reload in game
    Enable Icons (optional)
  11. Install the actual datapack
  12. Download the resource pack
  13. Install and enable the resource pack
  14. run the command /trigger DurabilityHud.resourcepack
  15. Enjoy

Included Commands

  • Enable icons (requires resourcepack) /trigger DurabilityHud.resourcepack
  • Toggle Durability Hud per player /trigger DurabilityHud.toggle
  • Show/Hide armor durability /trigger DurabilityHud.armor
    In game screenshot of the commands in this pack

For Developers (how to get items to work with this pack)

As long as a item has the component max_damage it should display correctly.
But as of 1.21.3 plain items from minecraft (and plain modded ones) dont come with the max_damage component by default. Therefore we hardcode these values, but as long as max_damage exists you should be fine.

If adding max_damage is not a option then it is possible to modify/override the get.max.[Slot].default.mcfunction to return custom max damage values for custom item types. Or add custom items to the existing durability.max.[maxdurability].json tag files under tags/item/....

items that are unable to get max damage will display negative values.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sweety's Garden

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

查看详情
Sun & Moon Fusion

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

查看详情
Bare Bones x Eating Animation

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

查看详情
Saitama-OnePunchMan

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

查看详情