
ItemContainer
ItemContainer is a lightweight Paper 1.21 plugin that prevents specific items from being placed into certain containers.
Define rules in config.yml – for example, stop players from putting Dragon Eggs into Ender Chests, or prevent Shulker Box nesting.
Features
- Config‑driven – add or remove restrictions without touching code
- Shift‑click, drag, number‑key & normal clicks – all transfer methods are blocked
- Custom messages – per‑rule cancel message shown to the player
- Reload command –
/itemcontainer reloadapplies changes instantly (OP only) - Lightweight – zero overhead when no rules match
Example Config
rules:
DRAGON_EGG:
containers:
- ENDER_CHEST
message: "§cYou cannot place a Dragon Egg inside an Ender Chest!"
SHULKER_BOX:
containers:
- SHULKER_BOX
message: "§cShulker boxes cannot be nested!"
Commands
| Command | Permission | Description |
|---|---|---|
/itemcontainer reload |
itemcontainer.reload |
Reloads the config file |
Requirements
- Paper 1.21.x
- Java 21
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as ItemContainer.jar — drop this file into the mods folder
- Download size: 10 KB
- Download link checked 7 Sept 2026 — working
These come from our own check of the pack file, not from the source page.