Wiki 9Minecraft Wiki 9Minecraft

How to Toggle Automatic Mace and Heavy Core Deletion

When you add the No Mace Data Pack to your world or server, it automatically deletes any mace or heavy core found inside a player's inventory. If you run a server or play on an existing world where you want players to keep the items they already earned before the data pack was added, you can control this behavior using a scoreboard command.

Allowing Existing Maces and Heavy Cores

By default, automatic inventory deletion is turned on. If you want to prevent new maces from being crafted or looted while still letting players keep the maces and heavy cores they already own, run the following command in the chat window or server console:

/scoreboard players set DeleteItems NoMace 0

Once this is set to 0, the data pack stops scanning and clearing player inventories, though the crafting recipe and vault loot table changes remain active.

Re-enabling Automatic Deletion

If you change your mind later or want to temporarily allow maces for a special server event before wiping them all out again, you can turn the deletion mechanic back on at any time. Run this command:

/scoreboard players set DeleteItems NoMace 1

Make sure you only use 0 or 1 as the final number in the command. Entering any other value into the scoreboard will do nothing. Note that you must have operator permissions on a multiplayer server or cheats enabled in a single-player world to execute /scoreboard commands.

Join 9Minecraft News & Guides