File Details
ItemBan-1.0.1.jar
- R
- May 21, 2026
- 1018.22 KB
- 2
- 1.20.1
- Forge
File Name
ItemBan-1.0.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
# ItemBan 1.0.1
## Major Update
Enhanced the NBT blacklist feature. You can now add and precisely remove blacklist rules with **any NBT data** directly via commands.
---
## New Features
### Command Improvements
- `/itemban add <itemID>{nbt}`
Supports attaching SNBT data directly in the command to blacklist items with specific NBT.
**Examples**:
- `/itemban add minecraft:diamond_sword{Enchantments:[{id:"minecraft:sharpness",lvl:5}]}`
- `/itemban add minecraft:netherite_pickaxe{display:{Name:'{"text":"§cForbidden Pickaxe"}'}}`
- `/itemban remove <itemID>{nbt}`
Precisely removes a specific NBT rule. If no NBT is provided, all rules for that item will be removed.
- `/itemban list`
Now clearly displays rules that include NBT data.
### Configuration Enhancement
`blacklist.json` now supports a new object format:
```json
[
"minecraft:diamond_sword",
{
"id": "minecraft:diamond_sword",
"nbtString": "{Enchantments:[{id:\"minecraft:sharpness\",lvl:5}]}"
}
]
- Supports full SNBT syntax (same as vanilla
/givecommand) - Supports any NBT structure (enchantments, display names, attribute modifiers, custom data, etc.)
- Uses partial matching (an item is blacklisted if its NBT contains the configured fields)
Fixes & Optimizations
- Fixed compilation error caused by NBT List handling
- Improved NBT matching compatibility and stability
- More robust command argument parsing (supports colons and curly braces)
Compatibility
- Fully backward compatible with 1.0.0 configuration format (plain strings still work)
- New format is recommended for more precise NBT control
Upgrade Instructions
Simply replace the old jar with ItemBan-1.0.1.jar. No configuration changes are required.
Author: lnsanes
License: Apache License 2.0

