Click Opener Mod
Development of this mod is temporarily on hold.
A Fabric mod that allows opening item interfaces directly from the inventory with a simple click. Also provides access to other item functions without the need to place them in the world.
Server Settings (clickopener.json)
Whitelist
Contains a list of allowed items that can be specified in the following ways:
- ID:
minecraft:crafting_table - Item tag:
item#minecraft:anvil - Block tag:
block#minecraft:shulker_boxes
Tags without prefixes are treated as both item and block tags.
Blacklist
Contains a list of forbidden items specified by ID. Useful for excluding individual items from a tag, such as minecraft:damaged_anvil.
Default Click Type (defaultClickType)
- Sets the default value for the
clickTypeparameter in player settings - Available options:
LEFT,RIGHT,SHIFT_LEFT,SHIFT_RIGHT,DROP,CTRL_DROP, orNONE - Default value:
RIGHT
Player Settings (clickopener_player.json)
Players can modify their settings using commands.
Click Type (clickType)
- Determines which click type is needed to open an item
- Available options:
LEFT,RIGHT,SHIFT_LEFT,SHIFT_RIGHT,DROP,CTRL_DROP, orNONE - Uses the value from server settings by default
Commands
/clickopener Commands (require permission level 4)
reload— reloads configurationwhitelist— shows items and tags in the whitelistwhitelist add (item|itemtag|blocktag) <id>— adds the specified item or tag to the whitelistwhitelist add item— adds the item in the player's hand to the whitelistwhitelist remove (item|itemtag|blocktag) <id>— removes the specified item or tag from the whitelistwhitelist remove item— removes the item in the player's hand from the whitelistblacklist— shows items in the blacklistblacklist add item <id>— adds the specified item to the blacklistblacklist add item— adds the item in the player's hand to the blacklistblacklist remove item <id>— removes the specified item from the blacklistblacklist remove item— removes the item in the player's hand from the blacklistdefaultClickType— shows the current defaultClickType valuedefaultClickType <defaultclicktype>— sets the defaultClickType value
/clickopenerplayer Commands (no permissions required)
clickType— shows the current clickType valueclickType <clicktype>— sets the clickType value
Previous Versions
Version 3
Caution: Blocks with permanent inventory (such as chests) may lose contents when added to configuration. Blocks from mods that retain contents when broken (like shulker boxes) may also lose contents without special support (vanilla shulker boxes have support).
Most blocks should work normally, but for those that don't:
Mod Support
- Reinforced Shulker Boxes: shulker boxes
- AdditionZ: fletching table
- Supplementaries: sack
- Supplementaries Squared: colored sacks
- Carpet AMS Addition: large shulker boxes
Version 2
Settings
clickType— determines the click type for opening itemsdefault— determines default behavior for items not specified in configuration- Supported vanilla items include various workstations, shulker boxes, anvils, and others
- Known modded item support:
reinfshulker:[color][material]_shulker_box
Commands
reload— reload configurationdefault <default>— change default valueclickType <clicktype>— change click typeentry <item> <enable>— change setting for specified itementry inhand <enable>— change setting for item in main hand
Version 1
Initial support included shulker boxes and ender chest. Version 1.1.0+ added support for various workstations and tools with the ability to enable/disable in settings.