Pacify Mobs
A datapack that works just like Silence Mobs but to remove their AI
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Pacify Mobs
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. must be installed on the server 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. 2. Load the world, then run `/reload` if needed. 3. 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.