携带幼崽动物
Carry Baby Animals 是一款 Minecraft 模组,允许玩家抱起、携带、抚摸并安全地放下幼崽动物。
这是 Tyler 和 Jasmine 父女共同制作的项目,旨在重现那种应该让人感到温柔、实用且略带魔法气息的小小 Minecraft 时刻。
该模组基于一个简单的理念:幼崽动物作为真实的世界实体存在,而非物品栏中的物品。被携带的幼崽会始终附着在玩家身上并与服务器同步,因此其行为是可见的、支持多人游戏,并且即使客户端未安装该模组也能兼容。
亮点
- 手持空手时潜行右击幼崽动物,一次只能抱起一只。
- 行走、冲刺、跳跃和游泳时均可携带幼崽。
- 手持空手时潜行右击可放下正在携带的幼崽。
- 左击正在携带的幼崽以抚摸它,触发爱心粒子效果和温馨反馈。
- 托儿所模式会拒绝在熔岩、火焰、伤害性方块、狭窄空间和不安全掉落点附近放置幼崽。
- 亲子团聚会在安全放下的幼崽回到其对应的成年个体附近时,显示装饰性爱心和温暖的动作栏消息。
- 安装了模组的客户端可获得改进的携带幼崽视觉效果,包括大型幼崽的 tucked(蜷缩)放置姿势和小型幼崽的困倦携带姿势。
- 服务器管理员可以在配置文件中通过完整的实体 ID 选择启用其他模组中兼容的幼崽动物实体类型。
- 原版客户端仍可通过 Minecraft 的乘客回退机制加入并使用服务端的携带行为。
- Fabric 客户端可使用 ModMenu,NeoForge 客户端可使用 NeoForge 内置的“模组”屏幕,在游戏内编辑 Carry Baby Animals 的视觉设置。
服务器与客户端设置
将 Carry Baby Animals 安装到服务器上即可启用游戏玩法。
对于玩家和服务器管理员而言,Carry Baby Animals 是服务器必需项,强烈建议安装客户端模组。
市场环境的元数据可能会将客户端列为可选,因为原版客户端仍然可以加入并使用服务端的携带行为。
玩家也可以在客户端安装该模组,以获得更好的怀中渲染效果、第一人称抚摸反馈、携带幼崽的反应、困倦视觉效果以及可选的游戏内视觉配置。未安装模组的玩家仍然可以加入模组化服务器并使用携带功能,但他们将通过 Minecraft 正常的乘客渲染来查看幼崽动物。
Carry Baby Animals 本身并不能使其他模组的自定义实体兼容原版客户端。如果其他动物模组需要匹配的客户端模组,那么这一要求仍归属于那个模组及其服务器设置。
依赖要求
所有版本均需要 Java 25 或更高版本。请选择适用于你的 Minecraft 版本和加载器的文件。
| Carry Baby Animals |
Minecraft |
Fabric Loader 最低版本 |
Fabric API 基准版本 |
NeoForge 最低版本 |
| 0.3.3 |
26.3 |
0.19.5 |
0.161.0+26.3 |
26.3.0.8-beta |
| 0.3.1–0.3.2 |
26.2 |
0.19.3 |
0.152.2+26.2 |
26.2.0.6-beta |
| 0.3.0 |
26.1.2 |
0.19.2 |
0.149.0+26.1.2 |
26.1.2.74 |
| 0.1.0–0.2.0 |
26.1.2 |
0.19.2 |
0.149.0+26.1.2 |
不可用 |
Fabric API 仅对 Fabric 构建版本是必需的。所示的 API 版本是每个发布版本构建时所针对的版本;请为相同的 Minecraft 版本使用这些版本或更新的兼容版本。新的加载器版本也必须支持该行中的 Minecraft 版本。
仅限 0.1.0 版本: 还需要 Fabric Permissions API 0.7.0 或更高版本。从 0.1.1 开始变为可选。
可选组件:
- 权限提供程序是可选的,非必需。在 Fabric 上,提供程序通过 Fabric API 的权限 API 集成。在 NeoForge 上,提供程序通过 NeoForge 内置的权限 API 集成。
- ModMenu 在 Fabric 客户端上是可选的。仅当你希望在游戏内拥有用于 Carry Baby Animals 客户端视觉设置的 Fabric 界面时才安装它。
使用方法
- 双手保持为空。
- 潜行右击支持的幼崽动物以将其抱起。
- 携带状态下左击以抚摸幼崽。
- 再次手持空手潜行右击以放下幼崽。
抱起和放下时的消息会使用动物的自定义名称(如果有),例如 Carrying KittyKat 和 Set down KittyKat。无名动物则使用幼崽动物类型,例如 Carrying baby Pig 和 Set down baby Pig。
携带幼崽动物时仍可正常使用门和活板门。
托儿所模式
托儿所模式由服务器管理,并兼容原版客户端。它在幼崽脱离前验证服务器计划的放置位置。
启用后,托儿所模式会拒绝在熔岩、火焰、伤害性方块、窒息空间和危险掉落点附近进行不安全的放置。如果地点不安全,幼崽将继续被携带,当启用托儿所模式消息时,玩家会在动作栏看到一条俏皮的消息。
服务器操作员可以配置每项安全检查、危险坠落距离,以及是否显示托儿所模式消息。还保留了一个权限节点,以便在服务器希望实现仅限工作人员覆盖的行为时绕过托儿所模式。
亲子团聚
亲子团聚由服务器管理,属于装饰性功能,并兼容原版客户端。它仅在托儿所模式允许故意放置后运行,且绝不会移动幼崽或成年个体。
启用后,安全放下并返回到兼容成年个体附近的幼崽会与成年个体一起显示爱心粒子,玩家会看到短暂的团聚消息。兼容的成年个体需满足以下条件:同种动物、成年、存活、附近且在同一个已加载的服务器层级中。驯服的动物仅与具有相同主人身份的成年个体团聚。
服务器操作员可以配置团聚半径、冷却时间、消息和粒子效果。
客户端视觉效果
服务器掌控游戏玩法状态。客户端视觉效果仅为装饰。
安装了模组的玩家将获得更佳的客户端呈现效果:隐藏正常的乘客渲染,并将幼崽绘制在携带者手部附近。
模组客户端还可为被携带的幼崽提供可选的生物美化效果。对于体型高大或笨重的幼崽(如马、骆驼、 llama、熊猫和乌龟),会采用更安全的侧边蜷缩放置方式,以确保第一人称视角下的可读性。抚摸行为可以触发针对鸡、兔子、狐狸、熊猫和乌龟等动物的仅客户端反应特效。
当客户端观察到被携带的小型幼崽一段时间后,困倦携带视觉效果会从蜷缩的昏昏欲睡姿态逐渐过渡到更清晰的睡眠状态呈现,伴随更平缓的动作,并且在渲染器支持的情况下,还会显示微妙的呼吸风格提示。
客户端视觉设置存储在:
config/carrybabyanimals-client.json
安装 ModMenu 后,Fabric 客户端可以通过 ModMenu 的 Carry Baby Animals 配置界面更改这些相同的客户端视觉设置。NeoForge 客户端可以通过 NeoForge 内置的 Mods 屏幕进行更改。如果没有游戏内配置界面,Carry Baby Animals 仍会使用 config/carrybabyanimals-client.json。
客户端视觉选项包括:被携带幼崽的反应、大型幼崽的蜷缩放置、第一人称大型幼崽可见性、困倦携带视觉效果、反应强度以及禁用的反应动物 ID。
这些客户端设置不会添加权限,不会影响拾取或放下规则,原版客户端也永远不需要它们。
配置
服务器首次启动时,Carry Baby Animals 会创建以下文件:
config/carrybabyanimals.json
主要服务器选项包括:
allowedAnimals: 允许被携带的动物名称或完整实体 ID 列表。留空则允许使用完整的默认支持集。
blockedAnimals: 要阻止的动物名称或完整实体 ID 列表。
allowCarryingOtherPlayersTamedAnimals: 当权限节点也允许时,允许玩家携带其他玩家驯服的幼年动物。
pettingCooldownTicks: 成功抚摸效果之间的冷却时间,以服务器刻为单位。
cozyFeedbackEnabled: 装饰性携带幼崽反馈的主开关。
carriedIdleSoundsEnabled: 允许偶尔播放携带幼崽的环境音效。
pettingMessagesEnabled: 启用多样的抚摸和困倦动作栏消息。
nameAwareMessagesEnabled: 在舒适反馈消息中使用幼崽的自定义名称(如果有的话)。
cozyParticlesEnabled: 启用温和的装饰性携带幼崽反馈粒子。
sleepyBabiesEnabled: 在幼崽被持有较长时间后,启用困倦携带时刻。
nurseryModeEnabled: 拒绝不安全玩家放置的主开关。
nurseryBlockLava: 拒绝在岩浆中或岩浆旁边放置。
nurseryBlockFire: 拒绝在火、营火、灵魂营火、岩浆块和类似燃烧危险物上放置。
nurseryBlockCactusAndDamage: 拒绝在仙人掌和其他明显的伤害方块上放置。
nurseryBlockSuffocation: 拒绝狭窄的放置位置,防止幼崽碰撞或窒息。
nurseryBlockDangerousFalls: 拒绝在不安全坠落高度上的放置。
nurseryDangerousFallDistanceBlocks: Nursery Mode 视为不安全的坠落距离。
nurseryMessagesEnabled: 启用有趣的 Nursery Mode 拒绝动作栏消息。
parentReunionEnabled: 安全玩家放置后装饰性亲子重逢反馈的主开关。
parentReunionRadiusBlocks: 搜索放置点附近兼容成年动物的半径。
parentReunionCooldownTicks: 同一幼崽或携带者之间重逢反馈的最小间隔。
parentReunionMessagesEnabled: 启用温馨的 Parent Reunion 动作栏消息。
parentReunionParticlesEnabled: 在幼崽和成年动物周围启用爱心粒子。
Cozy Feedback(舒适反馈)是装饰性的且由服务器拥有。它使用普通的 Minecraft 声音、粒子和动作栏消息,因此原版客户端无需安装模组即可看到或听到这些反馈。
支持的动物
默认情况下,Carry Baby Animals 支持那些适合携带的正常被动幼年动物,包括牛、猪、羊、鸡、山羊、兔子、猫、狐狸、马、驴、羊驼、骆驼、熊猫、海龟和狼等。
支持的动物名称:
cow, pig, sheep, chicken, goat, rabbit, cat, fox, horse, donkey, mule, llama, trader_llama, camel, panda, turtle, wolf, dog
动物名称说明:
dog 仅指代已驯服的狼。
wolf 泛指狼,但仍应用正常的驯服所有权规则。
- 完整实体 ID(如
examplemod:duck)可在 allowedAnimals 和 blockedAnimals 中使用。
- 未知名称、格式错误的 ID 以及服务器上不存在实体类型的 ID 将被记录并忽略。
- 模组实体默认不允许携带。它们必须在
allowedAnimals 中明确列出,且现有的携带权限节点仍然适用。
- 占据玩家双手的携带功能是模组设计的一部分,不可配置。
驯服的动物遵循所有权规则。玩家默认可以携带自己驯服的幼年动物。除非服务器明确允许,否则禁止携带其他玩家的驯服幼年动物。
权限
Carry Baby Animals 可以与加载器权限提供者集成,但并非必需。Fabric 服务器使用 Fabric API 的权限 API。NeoForge 服务器使用 NeoForge 内置的权限 API。
如果激活了加载器权限提供者:
- 除非权限提供者明确授予,否则
carrybabyanimals.nursery.bypass 默认为禁用。
- 所有其他 Carry Baby Animals 权限将委托给您的权限提供者,并在提供者没有明确规则时使用以下默认值。
如果没有激活加载器权限提供者:
- 所有玩家都可以携带未驯服的幼年动物。
- 玩家可以携带自己驯服的幼年动物。
- 玩家不能携带其他玩家驯服的幼年动物。
reload 权限在暴露时回退至原版游戏管理员命令权限。
nursery.bypass(育婴室模式绕过)权限:在 Fabric 上回退至原版游戏管理员命令权限;在 NeoForge 上,仅通过加载器权限提供者授予。
权限节点:
carrybabyanimals.carry
carrybabyanimals.carry.tamed
carrybabyanimals.carry.others_tamed
carrybabyanimals.nursery.bypass
carrybabyanimals.reload
默认行为:
carrybabyanimals.carry:默认允许。
carrybabyanimals.carry.tamed:对于玩家自己的驯服幼年动物,默认允许。
carrybabyanimals.carry.others_tamed:默认拒绝。
carrybabyanimals.nursery.bypass:当存在加载器权限提供者时,默认禁用。若无提供者,Fabric 回退至原版游戏管理员命令权限,而 NeoForge 需要显式的提供者授权。
carrybabyanimals.reload:保留用于重载支持,在暴露时默认使用原版游戏管理员命令权限。
Carry Baby Animals
Carry Baby Animals is a Minecraft mod that lets players pick up, carry, pet, and safely put down baby animals.
This is a father-daughter project by Tyler and Jasmine, built around the kind of small Minecraft moment that should feel gentle, useful, and a little bit magical.
The mod is built around a simple idea: baby animals stay as real world entities, not inventory items. A carried baby remains attached to the player on the server, so the behavior is visible, multiplayer-safe, and tolerant of clients that do not have the mod installed.
Highlights
- Pick up one baby animal at a time by sneak-right-clicking it with empty hands.
- Carry the baby while walking, sprinting, jumping, and swimming.
- Put the baby down again by sneak-right-clicking while carrying with empty hands.
- Pet the carried baby with left-click for heart particles and cozy feedback.
- Nursery Mode refuses dangerous set-downs near lava, fire, damaging blocks, cramped spaces, and unsafe drops.
- Parent Reunion adds cosmetic hearts and a warm action-bar message when a safely set-down baby is returned near a matching adult.
- Modded clients get improved carried baby visuals, including tucked placement for larger babies and sleepy carry poses for smaller babies.
- Server owners can opt into compatible baby animal entity types from other mods with full entity IDs in config.
- Vanilla clients can still join and use the server-side carry behavior through Minecraft's passenger fallback.
- Fabric clients can use ModMenu and NeoForge clients can use NeoForge's built-in Mods screen to edit Carry Baby Animals visual settings in-game.
Server And Client Setup
Install Carry Baby Animals on the server to enable the gameplay.
For players and server admins, Carry Baby Animals is server-required and the client mod is highly recommended.
Marketplace environment metadata may list the client as optional because vanilla clients can still join and use the server-side carry behavior.
Players can also install the mod on their clients for the nicer held-in-arms rendering, first-person petting feedback, carried baby reactions, sleepy visuals, and optional in-game visual configuration. Players without the mod can still join a modded server and use the carry behavior, but they will see the baby animal through Minecraft's normal passenger rendering.
Carry Baby Animals does not make another mod's custom entity compatible with vanilla clients by itself. If another animal mod requires matching client mods, that requirement still belongs to that mod and server setup.
Requirements
All releases require Java 25 or newer. Choose the file for your Minecraft version and loader.
| Carry Baby Animals |
Minecraft |
Fabric Loader minimum |
Fabric API baseline |
NeoForge minimum |
| 0.3.3 |
26.3 |
0.19.5 |
0.161.0+26.3 |
26.3.0.8-beta |
| 0.3.1–0.3.2 |
26.2 |
0.19.3 |
0.152.2+26.2 |
26.2.0.6-beta |
| 0.3.0 |
26.1.2 |
0.19.2 |
0.149.0+26.1.2 |
26.1.2.74 |
| 0.1.0–0.2.0 |
26.1.2 |
0.19.2 |
0.149.0+26.1.2 |
Not available |
Fabric API is required only for Fabric builds. The API versions shown are the versions each release was built against; use these or newer compatible releases for the same Minecraft version. Newer loader versions must also support the Minecraft version in that row.
Version 0.1.0 only: Fabric Permissions API 0.7.0 or newer is also required. It became optional in 0.1.1.
Optional:
- Permission providers are optional, not required. On Fabric, providers integrate through Fabric API's permission API. On NeoForge, providers integrate through NeoForge's built-in permission API.
- ModMenu is optional on Fabric clients. Install it only if you want an in-game Fabric screen for Carry Baby Animals client visual settings.
How To Use
- Empty both hands.
- Sneak-right-click a supported baby animal to pick it up.
- Left-click while carrying to pet the baby.
- Sneak-right-click again with empty hands to set the baby down.
Pickup and set-down messages use the animal's custom name when it has one, such as Carrying KittyKat and Set down KittyKat. Unnamed animals use the baby animal type, such as Carrying baby Pig and Set down baby Pig.
Doors and trapdoors can still be used while carrying a baby animal.
Nursery Mode
Nursery Mode is server-owned and vanilla-client compatible. It validates the server's planned set-down position before the baby is detached.
When enabled, Nursery Mode refuses unsafe set-downs near lava, fire, damaging blocks, suffocating spaces, and dangerous drops. If the spot is unsafe, the baby stays carried and the player sees a playful action-bar message when Nursery Mode messages are enabled.
Server operators can configure each safety check, the dangerous fall distance, and whether Nursery Mode messages are shown. A permission node is also reserved for bypassing Nursery Mode when a server wants staff-only override behavior.
Parent Reunion
Parent Reunion is server-owned, cosmetic, and vanilla-client compatible. It only runs after Nursery Mode allows a deliberate set-down and never moves the baby or adult.
When enabled, a safely set-down baby returned near a compatible adult gets heart particles with the adult, and the player sees a short reunion message. Compatible adults are the same animal type, adult, alive, nearby, and in the same loaded server level. Tamed animals only reunite with adults that have the same owner identity.
Server operators can configure the reunion radius, cooldown, messages, and particles.
Client Visuals
The server owns the gameplay state. Client visuals are cosmetic.
Players with the mod installed get the nicer client-side presentation: the normal passenger render is hidden and the baby is drawn near the carrier's hands.
Modded clients also get optional creature polish for carried babies. Tall and bulky babies such as horses, camels, llamas, pandas, and turtles use a safer tucked-side placement so first-person play stays readable. Petting can trigger small client-only reactions for animals such as chickens, rabbits, foxes, pandas, and turtles.
After the client has observed a small carried baby for a while, sleepy carry visuals progress from a tucked drowsy pose into a clearer asleep presentation with calmer motion and, where the renderer supports it, a subtle breathing-style cue.
Client visual settings are stored in:
config/carrybabyanimals-client.json
Fabric clients can change these same client visual settings from ModMenu's Carry Baby Animals config screen when ModMenu is installed. NeoForge clients can change them from NeoForge's built-in Mods screen. Without an in-game config screen, Carry Baby Animals still uses config/carrybabyanimals-client.json.
Client visual options include carried baby reactions, large baby tucked placement, first-person large baby visibility, sleepy carry visuals, reaction intensity, and disabled reaction animal IDs.
These client settings do not add permissions, do not affect pickup or set-down rules, and are never required by vanilla clients.
Configuration
Carry Baby Animals creates this file the first time the server starts:
config/carrybabyanimals.json
Main server options include:
allowedAnimals: List of animal names or full entity IDs that are allowed to be carried. Leave this empty to allow the full default supported set.
blockedAnimals: List of animal names or full entity IDs to block.
allowCarryingOtherPlayersTamedAnimals: Allows players to carry another player's tamed baby animal when the permission node also allows it.
pettingCooldownTicks: Cooldown between successful petting effects, in server ticks.
cozyFeedbackEnabled: Master switch for cosmetic carried-baby feedback.
carriedIdleSoundsEnabled: Allows occasional carried-baby ambient sounds.
pettingMessagesEnabled: Enables varied petting and sleepy action-bar messages.
nameAwareMessagesEnabled: Uses a baby's custom name in cozy feedback messages when it has one.
cozyParticlesEnabled: Enables gentle cosmetic carried-baby feedback particles.
sleepyBabiesEnabled: Enables sleepy carried-baby moments after a baby has been held for a while.
nurseryModeEnabled: Master switch for refusing unsafe player set-downs.
nurseryBlockLava: Refuses set-downs in or next to lava.
nurseryBlockFire: Refuses set-downs on fire, campfires, soul campfires, magma blocks, and similar burning hazards.
nurseryBlockCactusAndDamage: Refuses set-downs on cactus and other obvious damaging blocks.
nurseryBlockSuffocation: Refuses cramped set-downs where the baby would collide or suffocate.
nurseryBlockDangerousFalls: Refuses set-downs over unsafe drops.
nurseryDangerousFallDistanceBlocks: Drop distance that counts as unsafe for Nursery Mode.
nurseryMessagesEnabled: Enables playful Nursery Mode refusal action-bar messages.
parentReunionEnabled: Master switch for cosmetic Parent Reunion feedback after safe player set-downs.
parentReunionRadiusBlocks: Search radius for a compatible adult near the set-down baby.
parentReunionCooldownTicks: Minimum spacing between reunion feedback for the same baby or carrier.
parentReunionMessagesEnabled: Enables warm Parent Reunion action-bar messages.
parentReunionParticlesEnabled: Enables heart particles around the baby and adult.
Cozy Feedback is cosmetic and server-owned. It uses ordinary Minecraft sounds, particles, and action-bar messages, so vanilla clients can see or hear the feedback without installing the mod.
Supported Animals
By default, Carry Baby Animals supports the normal passive baby animals that are reasonable to carry, including animals such as cows, pigs, sheep, chickens, goats, rabbits, cats, foxes, horses, donkeys, llamas, camels, pandas, turtles, and wolves.
Supported animal names:
cow, pig, sheep, chicken, goat, rabbit, cat, fox, horse, donkey, mule, llama, trader_llama, camel, panda, turtle, wolf, dog
Animal name notes:
dog means tamed wolves only.
wolf means wolves generally, with normal tamed ownership rules still applied.
- Full entity IDs such as
examplemod:duck are accepted in allowedAnimals and blockedAnimals.
- Unknown names, malformed IDs, and IDs for entity types that are not present on the server are logged and ignored.
- Modded entities are never allowed by default. They must be explicitly listed in
allowedAnimals, and existing carry permission nodes still apply.
- Carrying occupying the player's hands is part of the mod design and is not configurable.
Tamed animals follow ownership rules. Players can carry their own tamed baby animals by default. Carrying another player's tamed baby animals is disabled unless the server explicitly allows it.
Permissions
Carry Baby Animals can integrate with loader permission providers, but a permission provider is not required. Fabric servers use Fabric API's permission API. NeoForge servers use NeoForge's built-in permission API.
If a loader permission provider is active:
carrybabyanimals.nursery.bypass defaults to disabled unless a permission provider explicitly grants it.
- All other Carry Baby Animals permissions delegate to your permission provider and use the defaults listed below when the provider has no explicit rule.
If no loader permission provider is active:
- All players can carry untamed baby animals.
- Players can carry their own tamed baby animals.
- Players cannot carry another player's tamed baby animals.
- The reserved reload permission falls back to vanilla game-master command permission when exposed.
- The Nursery Mode bypass permission falls back to vanilla game-master command permission on Fabric. On NeoForge, it is granted only through the loader permission provider.
Permission nodes:
carrybabyanimals.carry
carrybabyanimals.carry.tamed
carrybabyanimals.carry.others_tamed
carrybabyanimals.nursery.bypass
carrybabyanimals.reload
Default behavior:
carrybabyanimals.carry: allowed by default.
carrybabyanimals.carry.tamed: allowed by default for the player's own tamed baby animals.
carrybabyanimals.carry.others_tamed: denied by default.
carrybabyanimals.nursery.bypass: defaults to disabled with a loader permission provider active. Without a provider, Fabric falls back to vanilla game-master command permission, while NeoForge requires an explicit provider grant.
carrybabyanimals.reload: reserved for reload support and defaults to vanilla game-master command permission when exposed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧