跳到正文

Pacify Mobs

作者:meza

A datapack that works just like Silence Mobs but to remove their AI

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Pacify Me Datapack

A lightweight Minecraft datapack that lets you harmlessly disable a mob’s AI using named name tags, similar in spirit to Silence Mobs.

Overview

  • Apply a name tag named Pacify Me to any living mob to disable its AI. The mob will stop moving, pathfinding, targeting and using abilities.
  • Restore the mob’s AI by applying a name tag named sock to the same mob — as in, give dobby a sock.

How to use

  1. Craft or obtain a name tag.
  2. Rename it to Pacify Me in an anvil.
  3. Right-click a mob with the renamed tag to pacify it.
  4. To undo, rename a name tag to sock and apply it to that pacified mob.

Behaviour details

  • Pacified mobs keep their position, pose and rotation until AI is restored.
  • Natural attributes remain unchanged. Health, armour, equipment and effects are preserved.
  • Breeding, targeting, wandering and item pickup stop while pacified.
  • AI is restored instantly when tagged with sock.

Compatibility

  • Works alongside most datapacks. It does not add new items or recipes, only listens for specific name tags.
  • Functions in both single-player and multiplayer worlds. Important: For multiplayer servers, the datapack must be installed on the server — it will not work if only placed on a client.
  • Intended for vanilla mobs. Some modded entities may not be covered if they use custom AI flags.

Installation

  1. Drop the zipped datapack into the world’s datapacks folder.
  • For single-player: place it inside your save folder.
  • For servers: install it inside the world folder that the server uses.
  1. Load the world, then run /reload if needed.
  2. To remove, delete it from datapacks and /reload. Already pacified mobs will remain as they were at removal time.

Configuration

  • Names are case-insensitive by default: Pacify Me to disable, sock to restore.
  • You can customise trigger words by editing the matching predicates or scoreboard checks inside the datapack functions.

Notes and limitations

  • Bosses and scripted encounters may behave oddly without AI. Use with care in adventure maps.
  • Pacified mobs can still take damage from players, the environment and other sources that do not require AI.
  • Leashes, boats and minecarts still interact normally.

Credits

Inspired by the interaction pattern popularised by Silence Mobs datapack on Vanilla Tweaks.
Created as a clean, server-friendly implementation for builders, streamers and creative mapmakers.

常见问题

Pacify Mobs 支持哪些 Minecraft 版本?

Pacify Mobs 支持 Minecraft Java 版 1.21–26.3,共 17 个版本。下载时注意选择和你游戏版本一致的文件。

Pacify Mobs 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

meza 的其他作品

查看全部 →