Restricted Item Storage

About

RestrictedItemStorage is a Fabric mod for Minecraft 26.3 that prevents players from placing specific high-value items into any container. The mod intercepts item placement events across all container types including chests, barrels, ender chests, shulker boxes, and hoppers. It blocks the Dragon Egg, all four netherite armor pieces, recovery compasses, and the Mace from being stored. When a restricted item is detected, the placement is cancelled and the player receives a clear feedback message explaining that the item cannot be stored in containers. The mod uses Fabric's event system to hook into container interactions, checking item IDs against a configurable blocklist. It provides a seamless server-side solution for enforcing item storage restrictions without affecting other gameplay mechanics.