Download Click Opener Mod — Minecraft Mods — MetaMods

Click Opener Mod

Active

Downloads

20

Last update

1 year ago

Versions

1.18.2 — 1.20.3
Server
Fabric
Utils

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 clickType parameter in player settings
  • Available options: LEFT, RIGHT, SHIFT_LEFT, SHIFT_RIGHT, DROP, CTRL_DROP, or NONE
  • 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, or NONE
  • Uses the value from server settings by default

Commands

/clickopener Commands (require permission level 4)

  • reload — reloads configuration
  • whitelist — shows items and tags in the whitelist
  • whitelist add (item|itemtag|blocktag) <id> — adds the specified item or tag to the whitelist
  • whitelist add item — adds the item in the player's hand to the whitelist
  • whitelist remove (item|itemtag|blocktag) <id> — removes the specified item or tag from the whitelist
  • whitelist remove item — removes the item in the player's hand from the whitelist
  • blacklist — shows items in the blacklist
  • blacklist add item <id> — adds the specified item to the blacklist
  • blacklist add item — adds the item in the player's hand to the blacklist
  • blacklist remove item <id> — removes the specified item from the blacklist
  • blacklist remove item — removes the item in the player's hand from the blacklist
  • defaultClickType — shows the current defaultClickType value
  • defaultClickType <defaultclicktype> — sets the defaultClickType value

/clickopenerplayer Commands (no permissions required)

  • clickType — shows the current clickType value
  • clickType <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 items
  • default — 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 configuration
  • default <default> — change default value
  • clickType <clicktype> — change click type
  • entry <item> <enable> — change setting for specified item
  • entry 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.

Project members
hoid2

hoid2

Developer

Created: 4 Apr 2022

ID: 6951