我的伙伴

我的伙伴

本模组添加了一只名为"我的伙伴"的宠物狐狸。它会认你为主、跟随你冒险、免疫所有伤害,还能帮你打开末影箱。登录游戏时自动获得,无需合成。This mod adds a pet fox called 'My Companion'. It recognizes you as its owner, follows you on adventures, is immune to all damage, and can help you open Ender Chests.

游戏机制

本模组使用AI制作,作者不会任何代码有bug勿喷

如何获得

  • 首次进入世界:自动获得一只已认主的伙伴
  • 刷怪蛋:在创造模式中使用

交互操作

操作 效果
右键点击伙伴 切换跟随 / 原地等待模式(屏幕中央会显示提示文字)
潜行 + 右键点击伙伴 打开末影箱
潜行 + 右键 + 雪球 变更为白色(雪狐)皮肤
潜行 + 右键 + 甜浆果 变回红色(狐狸)皮肤

特性

  • 完全免疫伤害:任何攻击、摔落、火焰都无法伤到它
  • 自动跟随:距离主人超过 10 格时会主动跟上
  • 超远传送:距离主人超过 20 格时会尝试瞬移到主人身边(冷却 5 秒)
  • 不会繁殖,不能被拴绳拴住

注意事项

  • 伙伴在等待模式下不会主动传送,如果你走得太远且它处于等待模式,记得回头找它
  • 传送需要 5 秒冷却,频繁远距离移动时可能感觉它传送变慢
  • 如果传送频繁失败(例如你在狭小洞穴或悬崖边),请走到开阔平地上

This mod was created using AI; the author doesn’t know any code, so please don’t blame them for any bugs.

How to Obtain

  • First time entering the world: You automatically receive a tamed companion.
  • Spawn Egg: Use in Creative mode.

Interactions

Action Effect
Right-click your companion Toggle between Follow and Wait modes (a prompt will appear in the center of the screen)
Sneak + Right-click your companion Open the Ender Chest
Sneak + Right-click + Snowball Change to white (snow fox) skin
Crouch + Right-click + Sweet Berry Change back to red (fox) skin

Features

  • Fully immune to damage: No attacks, falls, or fire can harm it
  • Auto-follow: Will actively follow if more than 10 blocks away from the owner
  • Long-range teleport: Will attempt to teleport to the owner if more than 20 blocks away (5-second cooldown)
  • Does not breed and cannot be leashed

Notes

  • The companion will not teleport automatically while in wait mode. If you wander too far and it is in wait mode, remember to turn back to find it
  • Teleportation has a 5-second cooldown; it may feel slower during frequent long-distance travel
  • If teleportation frequently fails (e.g., in narrow caves or near cliff edges), please move to open, flat ground