FetchPets
在世界某处走失了一只已驯服的狗,完全不知道它跑去了哪里?FetchPets 能将你所有的已驯服宠物直接召唤到你身边——无论它们在服务器的哪个位置,包括那些位于未加载区块、原版 /tp 命令永远无法触及的宠物。
解决的问题
当区块卸载时,其中的实体将停止更新。对于普通命令而言,你的宠物在你实际走回渲染距离之前根本不存在——如果你不知道它去了哪里,这就根本无法实现。这是引擎的硬性限制,而非语法问题。
FetchPets 通过直接从磁盘读取世界实体数据来绕过这一限制,找出你拥有的所有宠物,并仅重新加载这些特定区块以执行传送。无需“强制加载整个世界”带来的卡顿。
命令
| 命令 |
功能 |
/fetchpets |
将所有已驯服宠物传送到你身边 |
/fetchpets list |
列出你的宠物及其位置——不执行传送 |
/fetchpets <player> |
(op) 将其他玩家的宠物传送到他们身边 |
/fetchpets list <player> |
(op) 列出其他玩家的宠物 |
/fetchpets reload |
(op) 重载配置文件 |
别名:/fetchdogs、/comepets、/callpets。
权限
| 节点 |
默认值 |
授予权限 |
fetchpets.use |
所有人 |
获取和查看自己的宠物列表 |
fetchpets.others |
op |
操作其他玩家的宠物 + 重载配置 |
支持所有可驯服宠物
狼、猫、鹦鹉、马、驴、骡子、羊驼——以及任何使用标准所有者标签的模组宠物。坐下的宠物会被唤醒以便跟随你回家(可切换)。
/fetchpets list 的效果示例
Steve has 3 pets:
- Wolf 'Rex' @ 412, 64, -1180 in Nether (world_nether) [unloaded]
- Horse 'Buttercup' @ -2003, 65, 540 in Overworld (world) [unloaded]
- Cat @ 12, 71, 5 in Overworld (world) [loaded]
配置
settings:
stand-up-sitting-pets: true # 唤醒坐下的宠物使其跟随你
include-loaded: true # 不仅扫描磁盘,也扫描已加载的世界
cooldown-seconds: 5 # 每位玩家的冷却时间(0 = 关闭)
注意事项
- 跨维度:卡在下界或末地的宠物会被拉取至你当前站立的位置。
- 世界扫描在主线程上运行,因此不会导致服务器卡死。
- 仅匹配宠物的所有者,因此你永远不会误抓他人的狗。
- 发现 Bug?点击侧边栏中的 Report issues 并填写简短表单。
FetchPets
Lost a tamed dog somewhere across the world and have no idea where it wandered off to? FetchPets brings all your tamed pets straight to you - from anywhere on the server, including pets sitting in unloaded chunks that no vanilla /tp command can ever reach.
The problem it solves
When a chunk unloads, the entities inside it stop ticking. To a normal command, your pet simply doesn't exist until you physically walk back into render distance - which is impossible if you don't know where it went. That's a hard engine limitation, not a syntax problem.
FetchPets gets around it by reading the world's entity data directly off disk, finding every pet you own, and pulling only those specific chunks back in to teleport them. No "force-load the entire world" lag.
Commands
| Command |
What it does |
/fetchpets |
Teleport all your tamed pets to you |
/fetchpets list |
List your pets and where they are - without teleporting |
/fetchpets <player> |
(op) Teleport another player's pets to them |
/fetchpets list <player> |
(op) List another player's pets |
/fetchpets reload |
(op) Reload the config |
Aliases: /fetchdogs, /comepets, /callpets.
Permissions
| Node |
Default |
Grants |
fetchpets.use |
everyone |
Fetch and list your own pets |
fetchpets.others |
op |
Act on other players' pets + reload |
Covers every tameable pet
Wolves, cats, parrots, horses, donkeys, mules, llamas - and any modded pet that uses the standard owner tag. Sitting pets are stood back up so they actually follow you home (toggleable).
How /fetchpets list looks
Steve has 3 pets:
- Wolf 'Rex' @ 412, 64, -1180 in Nether (world_nether) [unloaded]
- Horse 'Buttercup' @ -2003, 65, 540 in Overworld (world) [unloaded]
- Cat @ 12, 71, 5 in Overworld (world) [loaded]
Configuration
settings:
stand-up-sitting-pets: true # stand sitting pets up so they follow you
include-loaded: true # also sweep loaded worlds, not just disk
cooldown-seconds: 5 # per-player cooldown (0 = off)
Notes
- Cross-dimensional: pets stuck in the Nether or End are pulled to wherever you stand.
- The world scan runs off the main thread, so it won't freeze your server.
- Only the pet's owner is matched, so you'll never grab someone else's dog.
- Found a bug? Click Report issues in the sidebar and fill in the short form.
评论 0
登录后参与评分
还没有评论,来抢沙发吧