Better Pets Health 图标

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 (default true)
  • transfer_mode:
    • TRANSFER_ONLY (default) — pet 0, player full
    • DUPLICATE — pet full + player full
    • SPLIT — split damage with percent_to_player
  • ignore_if_owner_creative (default true)
  • ignore_if_owner_spectator (default true)
  • ignore_if_owner_offline (default true)
  • distance_limit_enabled (default false)
  • ignore_damage_types (default includes: in_wall, drown, fall, out_of_world, etc.)
  • message_enabled (default true)
  • message_mode (default ACTIONBAR)
  • message_aggregate_window_ms (default 1000)
  • message_cooldown_ms (default 400)

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)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Eternity's Edge

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

查看详情
NoSnowMelting

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

查看详情
More Backpack Upgrades

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

查看详情
Mad Pixels 64x

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

查看详情