Fuzzy
受 fzf 启发的命令功能,引入了一套基于“模糊搜索”的命令搜索与执行系统。它允许你搜索之前输入过的命令,无需完全匹配原句,即可快速复用。
使用方法
- 按下
J键(默认按键绑定,可配置)以打开模糊命令搜索界面。 - 开始输入搜索内容,以筛选之前使用过的命令。
- 匹配搜索结果的命令将以列表形式显示,你可以使用方向键进行导航,或直接按
Enter键执行。 - 按
Tab键可将选中的命令建议填入聊天栏,以便进一步编辑。
演示
按键绑定
- 按
J打开模糊命令查找器(此按键绑定可重新配置)
功能
快捷操作
选中某一项后,你可以执行以下快捷操作:
- 执行命令:
Enter - 在聊天栏中建议命令:
Tab - 列表向下移动一项:
↓或Shift + J - 列表向上移动一项:
↑或Shift + K - 移除条目:
Shift+X - 复制命令到剪贴板:
Shift+C - 给予一个包含建议命令的指令方块:
Shift + B
指令方块
当你与指令方块交互并更改其命令时,如果你启用了 Enable Command Block Logging(启用指令方块日志记录)选项,Fuzzy 会自动将该命令记录到其搜索历史中。这意味着稍后你可以在命令搜索中调出该命令并再次使用,即使已经关闭了指令方块的界面。
指令方块的命令在列表中显示为黄色,并在命令搜索中带有 @ 前缀。
提示: 结合使用指令方块日志记录和 Shift + B 可以快速切换指令方块(演示)
致谢
Fuzzy 使用 xdrop/fuzzywuzzy 进行模糊搜索。
Fuzzy
The fzf inspired command introduces a "fuzzy search"-based command search and execution system. It allows you to search previously entered commands, regardless of the exact phrasing, and quickly reuse them.
Usage
- Press the
Jkey (default keybind, configurable) to open the Fuzzy Command Search screen. - Start typing your search query to filter through previously used commands.
- Commands matching your search will be displayed in a list, which you can navigate using arrow keys, or execute directly with the
Enterkey. - The
Tabkey will suggest the selected command, allowing you to edit it further in the chat bar.
Demo
KeyBinds
- Press
Jto open the fuzzy command finder (this keybinding can be re-configured)
Features
Quick Actions
When you select an entry you can do one of the following quick actions:
- Execute Command:
Enter - Suggest Command in Chat:
Tab - Next Entry in List:
Arrow DownorShift + J - Previous Entry in List:
Arrow UporShift + K - Remove Entry:
Shift+X - Copy Command to Clipboard:
Shift+C - Give Command Block with Suggested Command:
Shift + B
Command Blocks
When you interact with a command block and change its command, if you have theEnable Command Block Logging option enabled, Fuzzy will automatically log that command into its search history. This means you'll be able to pull up the Command Search later on and reuse the command you entered into the command block, even after closing the command block's interface.
Command Block commands appear in yellow and they have a @ prefix in the command search.
TIP: Use command block logging in combination with Shift + B to quickly swap between command blocks (Demo)
Credits
Fuzzy uses xdrop/fuzzywuzzy for the fuzzy search.
下载 Fuzzy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
下载 Fuzzy
已更新以支持 1.21.6 - 1.21.8 版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧