*** 该模组的开发在可预见的未来将暂停。 ***
Fabric 模组,当你在物品栏中点击物品时,会打开该物品的界面。同时也允许从物品栏中使用其他物品功能。
服务器配置选项 (clickopener.json)
whitelist(白名单)
包含由以下指定允许的列表:
- ID:
minecraft:crafting_table - 物品标签:
item#minecraft:anvil - 或方块标签:
block#minecraft:shulker_boxes
不带前缀的标签被视为物品和方块标签。
blacklist(黑名单)
包含由 ID 指定的禁止项列表。用于从如 minecraft:damaged_anvil 这样的标签中排除单个物品。
defaultClickType(默认点击类型)
- 玩家配置中
clickType的默认值。 - 可以是
LEFT、RIGHT、SHIFT_LEFT、SHIFT_RIGHT、DROP、CTRL_DROP或NONE - 默认值:
RIGHT
玩家配置选项 (clickopener_player.json)
玩家可以通过命令修改其配置。clickType(点击类型)
- 决定必须如何点击物品才能将其打开。
- 可以是
LEFT、RIGHT、SHIFT_LEFT、SHIFT_RIGHT、DROP、CTRL_DROP或NONE - 默认值: 服务器配置中的
defaultClickType。
命令
命令以 /clickopener 开头,需要权限等级 4。
reload
- 重新加载配置
whitelist
- 列出白名单中的物品/标签
whitelist add (item|itemtag|blocktag) <id>
- 将指定的物品或标签添加到白名单。
whitelist add item
- 将玩家手中的物品添加到白名单。
whitelist remove (item|itemtag|blocktag) <id>
- 从白名单中移除指定的物品或标签。
whitelist remove item
- 从白名单中移除玩家手中的物品。
blacklist
- 列出黑名单中的物品/标签
blacklist add item <id>
- 将指定的物品添加到黑名单。
blacklist add item
- 将玩家手中的物品添加到黑名单。
blacklist remove item <id>
- 从黑名单中移除指定的物品。
blacklist remove item
- 从黑名单中移除玩家手中的物品。
defaultClickType
- 显示
defaultClickType配置项。
defaultClickType <defaultClickType>
- 设置
defaultClickType配置项。
命令以 /clickopener_player 开头,不需要任何权限。
clickType
- 显示
clickType配置项。
clickType <clickType>
- 设置
clickType配置项。
旧版本
v3
注意
具有永久物品栏的方块(如箱子)如果添加到配置中,可能会导致内容丢失。 由保留内容破碎的模组添加的方块(如潜影盒)如果没有显式支持,可能会导致内容丢失。(潜影盒提供原版支持)。
大多数方块物品应该可以直接使用,但对于无法使用的:
显式模组支持
- Reinforced Shulker Boxes: shulker boxes
- AdditionZ: fletching table
- Supplementaries: sack
- Supplementaries Squared: colored sacks
- Carpet AMS Addition: large shulker boxes
v2
配置选项
clickType
- 决定必须如何点击物品才能将其打开。
- 可以是
LEFT、RIGHT、SHIFT_LEFT、SHIFT_RIGHT、DROP或CTRL_DROP - 默认值:
RIGHT
default
- 确定未在配置中明确提及的物品的默认值
- 可以是
true或false - 默认值:
false
Items(物品)
- 你必须为每个允许或禁止的物品有一行
- 每个物品由其 ID 指定(原版物品的命名空间不是必需的)
- 冒号必须转义,例如
minecraft\:anvil - 这些值可以是
true或false - 默认情况下未指定任何值
支持的原版物品
shulker_box- [color]
_shulker_box ender_chestenchanting_tablesmithing_tablecrafting_tablegrindstonestonecuttercartography_tableloomanvilchipped_anvildamaged_anvil
已知支持的模组物品
reinfshulker:[color]_[material]_shulker_box
命令
所有命令都以 /clickopener 开头,需要权限等级 4。
reload
- 重新加载配置
default <default>
- 更改配置中的默认值
clickType <clickType>
- 更改配置中的 clickType
entry <item> <enable>
- 更改指定物品的配置项
entry inhand <enable>
- 更改主手中物品的配置项
v1
支持:
- shulker box
- enderchest
(1.1.0+)
- enchanting table
- smithing table
- crafting table
- grindstone
- stonecutter
- cartography table
- loom
- anvil
所有功能都可以在配置中启用或禁用(1.1.0+)。只有潜影盒和末影箱默认启用(为了与 1.1.0 之前的版本兼容)。
*** Development of this mod is on hold for the foreseeable future. ***
Fabric Mod that opens the inventory screens of items when they are clicked in your inventory. Also allows other item functionality from the inventory.
Server Config Options (clickopener.json)
whitelist
Contains a list of allowed items specified by:
- Id:
minecraft:crafting_table - Item tag:
item#minecraft:anvil - Or block tag:
block#minecraft:shulker_boxes
Tags without prefix are treated as item and block tags.
blacklist
Contains a list of disallowed items specified by id. Useful for excluding a single item from a tag like minecraft:damaged_anvil
defaultClickType
- The default for
clickTypein player configs. - Can be
LEFT,RIGHT,SHIFT_LEFT,SHIFT_RIGHT,DROP,CTRL_DROPorNONE - Default:
RIGHT
Player Config Options (clickopener_player.json)
Players can modify their configs through commands.clickType
- Determines how an item must be clicked to be opened.
- Can be
LEFT,RIGHT,SHIFT_LEFT,SHIFT_RIGHT,DROP,CTRL_DROP, orNONE - Default:
defaultClickTypein server config.
Commands
Commands start with /clickopener and require permission level 4.
reload
- Reloads the config
whitelist
- Lists the items/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
- Lists the items/tags 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 to from the blacklist.
blacklist remove item
- Removes the item om the player's hand from the blacklist.
defaultClickType
- Displays the defaultClickType config entry.
defaultClickType <defaultClickType>
- Sets the defaultClickType config entry.
Commands start with /clickopener_player and require no permissions.
clickType
- Displays the clickType config entry.
clickType <clickType>
- Sets the clickType config entry.
Old
v3
Caution
Blocks that have permanent inventory (like chests) will probably void contents if added to config. Blocks added by mods that retain contents when broken (like shulker boxes) will probably void contents unless explicit support is added. (Vanilla support is available for shulker boxes).
Most block items should just work, but for the ones that don't:
Explicit Mod Support
- Reinforced Shulker Boxes: shulker boxes
- AdditionZ: fletching table
- Supplementaries: sack
- Supplementaries Squared: colored sacks
- Carpet AMS Addition: large shulker boxes
v2
Config Options
clickType
- Determines how an item must be clicked to be opened.
- Can be
LEFT,RIGHT,SHIFT_LEFT,SHIFT_RIGHT,DROP, orCTRL_DROP - Default:
RIGHT
default
- Determines the default for items not explicitly mentioned in the config
- Can be
trueorfalse - Default:
false
Items
- You much have a line for each item you want to allow or disallow
- Each item is specified by its Id (namespace not necessary for vanilla items)
- Colon must be escaped e.g.
minecraft\:anvil - These can be
trueorfalse - None are specified by default
Supported Vanilla Items
shulker_box- [color]
_shulker_box ender_chestenchanting_tablesmithing_tablecrafting_tablegrindstonestonecuttercartography_tableloomanvilchipped_anvildamaged_anvil
Known Supported Modded Items
reinfshulker:[color]_[material]_shulker_box
Commands
All commands start with /clickopener and require permission level 4.
reload
- Reloads the config
default <default>
- Changes the default in config
clickType <clickType>
- Changes clickType in config
entry <item> <enable>
- Changes the config entry for the specified item
entry inhand <enable>
- Changes the config entry for the item in the main hand
v1
Has support for :
- shulker box
- enderchest
(1.1.0+)
- enchanting table
- smithing table
- crafting table
- grindstone
- stonecutter
- cartography table
- loom
- anvil
All can be enabled or disabled in the config (1.1.0+). Only shulker boxes and ender chests are enabled by default (for compatibility with versions before 1.1.0).
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Click Opener Mod
下载 Click Opener Mod
下载 Click Opener Mod
下载 Click Opener Mod
已修复
- 与潜影盒模组(特别是 Reinforced Shulkers)的兼容性
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧