Better Pets Health
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.0
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/better-pets-health
资源信息
Minecraft 版本: 1.21.11
平台: fabric
资源介绍
Better Pets Health
Better Pets Health makes your tamed/owned pets stop taking damage by transferring that damage to their owner instead.
Example: If your wolf is hit for 3.0, the wolf takes 0 and you take 3.0.
Works on client + dedicated server (must be installed on the server; clients can join without it unless you want config UI).
Features
- ✅ Core rule (default): Pet takes 0 damage, owner takes full damage
- ✅ Supports all owned/tameable entities that expose an owner (wolves, cats, parrots, etc.)
- ✅ Supports modded tameables via config allow/deny entity-id lists
- ✅ Optional distance limit (disabled by default)
- ✅ Damage type ignore list (prevents weird edge cases like void/fall/out-of-world)
- ✅ Message aggregation to avoid spam (actionbar by default)
Configuration (Cloth Config + AutoConfig)
This mod uses AutoConfig with Cloth Config.
Config file location:
config/betterpetshealth.json5
Key options
enabled(defaulttrue)transfer_mode:TRANSFER_ONLY(default) — pet 0, player fullDUPLICATE— pet full + player fullSPLIT— split damage withpercent_to_player
ignore_if_owner_creative(defaulttrue)ignore_if_owner_spectator(defaulttrue)ignore_if_owner_offline(defaulttrue)distance_limit_enabled(defaultfalse)ignore_damage_types(default includes:in_wall,drown,fall,out_of_world, etc.)message_enabled(defaulttrue)message_mode(defaultACTIONBAR)message_aggregate_window_ms(default1000)message_cooldown_ms(default400)
Dependencies
Required:
- Fabric API
- Cloth Config API (Fabric)
Notes / Edge Cases
- Damage only transfers if the owner is a player and online
- If the owner is creative or spectator, default behavior is no transfer (pet takes normal damage)
- Optional distance limit can restrict cross-dimension / far-away transfers
License
MIT
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~