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 Meto 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 sockto the same mob — as in, give dobby a sock.
How to use
- Craft or obtain a name tag.
- Rename it to Pacify Mein an anvil.
- Right-click a mob with the renamed tag to pacify it.
- To undo, rename a name tag to sockand 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
- 
Drop the zipped datapack into the world’s datapacksfolder.- For single-player: place it inside your save folder.
- For servers: install it inside the world folder that the server uses.
 
- 
Load the world, then run /reloadif needed.
- 
To remove, delete it from datapacksand/reload. Already pacified mobs will remain as they were at removal time.
Configuration
- Names are case-insensitive by default: Pacify Meto disable,sockto 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.
Совместимость
Minecraft: Java Edition
1.21–1.21.10
Платформы
Поддерживаемые окружения
Клиент и сервер
Создатели
Детали
Лицензия:AGPL-3.0-or-later
Опубликован:1 неделю назад
Обновлён:1 неделю назад
