ItemDisabled 1.3-beta
Curse Maven Snippet
What's new
- Blocked passive items & ammo bypasses: Totem of Undying, bow/crossbow projectiles (arrows, tipped arrows, fireworks), crafting, Crafter (1.21+), Smithing/Anvil/Stonecutter, and villager trading
- Instant armor & Elytra equip blocking on Spigot (inventory click, drag, shift-click, and armor dispensers)
- Performance optimizations in
ItemsConfig: O(1) indexed rule lookup, read-only client checks, and expiration cleanup only on the server that only writes/syncs when entries expire - New commands:
/itemdisabled list [target](with clickable[Enable]button),/itemdisabled clear [target],/itemdisabled disable hand [exact] [duration] [target]and/itemdisabled enable hand [exact] [target] - Human-readable durations (
30s,15m,2h,1d,1h30m,permanent) in addition to raw seconds - Live countdown timer in item tooltips for temporarily disabled items, synced with the server clock
- Support for item tags (
#minecraft:swords,#c:gems) and mod/glob wildcards (create:*,nexo:*); malformed rules are rejected - Specific item filters for potions (
[potion=...],[effect=...]), enchantments/books ([enchantment=...]), CustomModelData ([custom_model_data=...]), display names ([name=...]), and NBT / Data Components ([nbt=...],[component=...]) - In-game admin screen (
/itemdisabled gui) to browse items, manage active rules and write custom rules. Works on Fabric/Forge/NeoForge servers and on Spigot servers for players with the mod installed - Expanded
ItemDisabledAPIwith read methods (getDisabledItems,getRemainingMillis,getMatchingEntry,buildExactRule,isValidRule,clear*) and events (ITEM_DISABLED,ITEM_ENABLED, cancelableITEM_BLOCKED)
This mod has no additional files