HiiroSakura 模组

HiiroSakura 是一款客户端增强模组:它不添加任何新的方块或物品,而是平滑处理原版中数十处细微的不便——一眼就能看清物品的真实信息、一键开启整排的门或活板门,或将日常操作绑定到快捷键或径向菜单上。
所有功能均在你的客户端运行。服务器无需安装此模组。
所有功能默认关闭。 安装模组后,在你启用任何功能之前,游戏不会发生任何变化。
? 前置要求
| 要求 | 详情 |
|---|---|
| 加载器 | Fabric 或 NeoForge |
| 端侧 | 仅限客户端 |
| Minecraft | 请参阅 Versions(版本) 标签页以获取已发布构建的确切版本 |
| 必需依赖 |
? 快速入门
- 在游戏中按下 H + S(可重新绑定)以打开设置界面。
- 在 Fabric 上,你也可以通过 Mod Menu 打开;在 NeoForge 上,则可以通过模组列表中的配置按钮打开。
界面按标签页组织如下:
| 标签页 | 包含内容 |
|---|---|
| Hiiro Sakura Settings | 所有开关选项,分为渲染、游戏性和聊天三类 |
| Task Manager | 你按计划或快捷键触发的操作:发送消息、执行命令或运行脚本 |
| Custom Radial Menus | 自定义径向菜单,每个菜单拥有独立的快捷键 |
| Event Subscriptions | 当特定事件发生时自动执行操作 |
| Item Editor | 使用数据组件构建物品(进入世界后会显示) |
✨ 功能特性
? 渲染
- 手持物品信息 — 在屏幕上显示选中物品的详细信息,而非仅显示原版名称。提供 37 行可选信息(附魔、描述、容器内容、药水、盔甲纹饰、耐久度等),每行均可独立开关;还可通过可选脚本针对每件物品决定显示哪些内容。
- 掉落物品信息 — 在掉落物上方显示物品详情,并在经验球上方显示经验值。
- 引信计时器 — 以文本或进度条形式显示已点燃 TNT 和膨胀苦力怕的剩余时间。
- 伽马覆盖 — 无需光影包即可调亮世界亮度。
- 始终渲染屏障/光标记、禁用文本混淆、禁用计分板侧边栏。
- 兼容 Iris 的渲染管线 — 用于模组自身的纹理贴图——将其绑定到你切换光影的相同按键上,以保持同步。
? 游戏性
- 连锁开门 — 右键一次即可开启或关闭一整排的门或活板门。支持两种策略(邻域扫描 / 链式传播)、按规则匹配方块、每条规则支持“按住钥匙禁用/启用”以及链式长度限制。
- 自动补种 — 破坏作物后,模组会在下一tick从你的背包中自动重新种植。小麦、胡萝卜、马铃薯、甜菜根和下界疣均已开箱即用。
- 鞘翅自动切换 — 当你尝试飞行时自动装备滑翔翼,不再滑翔时自动换回胸甲。
- 滑翔辅助 — 滑翔期间禁用烟花交互,并提供一个快捷键帮你寻找并使用可用的烟花。
- 方块破坏保护 — 匹配的方块无法被破坏(默认规则保护萌芽紫水晶簇)。
- 物品使用拦截 — 阻止匹配的物品对匹配的方块使用。
- 物品丢弃拦截 — 匹配的物品无法被丢弃。由于并非所有丢弃路径都能捕获,因此不要单独依赖此功能。
- 自动重生 — 跳过死亡画面并立即重生。
- 相机切换器 — 将视角置于任意实体上,可选择在切换期间锁定你的操作,附带
/hs:camera_switch命令。 - 声音过滤器 — 静音选定的声音事件;这些声音也不会再出现在字幕中。
- 创造模式拾取玩家头颅 — 鼠标中键点击玩家即可获得其头颅。
? 聊天
- 消息过滤器 — 丢弃匹配正则表达式的传入消息。
- 消息注入 — 通过正则表达式 → 表达式映射重写传出消息,其中
#{message}代表原始文本。 - 聊天气泡 — 说话者头顶显示对话气泡,支持按服务器配置解析正则、颜色、缩放比例、偏移量和时机。
⚙️ 自动化
- 任务 — 发送消息、运行命令或执行 JEXL 脚本,支持延迟、周期、重复次数、图标和快捷键。快捷执行径向菜单支持左键单击(运行)、中键单击(删除)或右键单击(编辑/创建)来触发任何任务。
- 事件订阅 — 26 种事件类型(输入、客户端生命周期与 tick、加入/退出服务器或游戏、死亡与重生、破坏方块、发送/接收命令和消息、攻击、拾取、物品使用、播放声音)触发四种动作之一:执行命令、发送消息、运行脚本或“添加一个 tick 任务”。
- 脚本编写 — 基于 JEXL,可用于
/hs:eval、任务、事件、匹配器和物品信息渲染器。common:API 涵盖消息传递、通知、Toast 提示、键鼠模拟、移动、共享全局数据和配置编辑,以及封装的游戏对象(实体、物品、方块、命中结果和声音)。可以逐个字段读取原版的记录组件(如火箭组件)。
? 工具
- 物品编辑器 — 使用数据组件创建物品:为常用组件提供专用编辑器,其余部分使用通用序列化数据编辑器;条目可从注册表或整个标签中选取。在创造模式下将结果放入你的物品栏,或复制一条
/give命令。 - 自定义径向菜单 — 支持任意数量的命名径向菜单,每个菜单拥有独立的热键和任务列表,外观完全可配置,并支持从任务管理器一键导入。
- 匹配器(Matchers) — 上述功能背后共享的“哪个物品 / 哪个方块”条件逻辑,支持全部 / 任一 / 无模式,每条规则可单独包含或排除,内置游戏内测试按钮用于检测手持物品和目标方块,并支持导入 / 导出。
⌨️ 默认热键
| 热键 | 操作 |
|---|---|
H + S |
打开 HiiroSakura 界面 |
Left Shift |
连锁门:规则专属按键模式的触发键 |
其他所有热键——烟花快速使用、相机切换、径向菜单、快速执行径向菜单、各功能开关及任务热键——默认均未绑定。你可以在设置界面中自行录制。
? 文档
完整的玩家文档位于仓库中:
⚠️ 注意事项
- 部分功能通过向客户端发送原版数据包来运作——包括自动重种、连锁门、鞘翅切换以及来自脚本的模拟输入。服务器端无需安装此模组即可正常运行。
- 部分接口存在限制:物品掉落拦截无法捕获所有掉落路径,掉落物品的渲染距离以平方距离进行比较,且脚本无法构造对象或将函数传递给 Java API。
- 设置、任务、事件订阅、径向菜单和物品编辑器列表均存储在
config/hiirosakura/目录下。
? 链接
- GitHub:
- 问题反馈与建议:
- 更新日志:
? 许可证
MIT
? 享受更加优雅的 Minecraft 体验!
HiiroSakura Mod

HiiroSakura is a client-side enhancement mod: it adds no new blocks or items, and instead smooths out dozens of small annoyances in vanilla — read what an item really is at a glance, open a whole row of doors with one click, or bind your routine actions to a hotkey or a radial menu.
Everything runs on your client. Servers do not need to install it.
All features are off by default. Installing the mod changes nothing until you enable something.
? Requirements
| Requirement | Details |
|---|---|
| Loader | Fabric or NeoForge |
| Side | Client only |
| Minecraft | See the Versions tab for the exact versions of the published builds |
| Required dependency |
? Getting started
- Press H + S in game (rebindable) to open the settings screen.
- On Fabric you can also open it from Mod Menu; on NeoForge, from the mod list's config button.
The screen is organised into tabs:
| Tab | What it holds |
|---|---|
| Hiiro Sakura Settings | Every toggle, grouped into Rendering, Gameplay and Chat |
| Task Manager | Actions you trigger on a schedule or with a hotkey: message, command or script |
| Custom Radial Menus | Your own radial menus, each with its own hotkey |
| Event Subscriptions | Automatically do something when an event happens |
| Item Editor | Build items with data components (appears once you are in a world) |
✨ Features
? Rendering
- Handheld item info — shows the selected item's details on screen instead of the vanilla name alone. 37 optional lines (enchantments, lore, container contents, potions, armour trim, durability, …), each toggleable; an optional script can decide per item what to show.
- Dropped item info — item details above dropped items, plus the experience value above experience orbs.
- Fuse timers for primed TNT and swelling creepers, as text or a progress bar.
- Gamma override — brighten the world without a shader pack.
- Always render barrier / light block markers, disable text obfuscation, disable the scoreboard sidebar.
- Iris-compatible render pipeline for the mod's own world textures — bind it to the same key as your shader toggle to keep them in sync.
? Gameplay
- Chain doors — one right-click opens or closes a row of doors or trapdoors. Two strategies (neighbourhood scan / chain propagation), per-rule block matchers, per-rule "hold the key to disable / enable", and a chain limit.
- Auto replant — break a crop and the mod replants it from your inventory on the next tick. Wheat, carrots, potatoes, beetroot and nether wart are set up out of the box.
- Auto switch elytra — equips a glider when you try to start flying, and swaps your chestplate back once you are not gliding.
- Gliding helpers — disable firework interaction while gliding, and a hotkey that finds a usable firework and uses it for you.
- Block break protection — matched blocks cannot be broken (the default rule protects budding amethyst).
- Item use intercept — stop matched items from being used against matched blocks.
- Item drop intercept — matched items cannot be dropped. Not every drop path can be caught, so do not rely on it alone.
- Auto respawn — skip the death screen and respawn immediately.
- Camera switcher — put the camera on any entity, optionally blocking your own actions while switched, plus the
/hs:camera_switchcommand. - Sound filter — silence chosen sound events; they also stop showing up in subtitles.
- Pick player head in creative — middle-click a player to get their head.
? Chat
- Message filter — drop incoming messages that match a regular expression.
- Message injection — rewrite outgoing messages through a regex → expression mapping, where
#{message}is the original text. - Chat bubbles — speech bubbles above the speaker's head, with per-server parsing regexes, colours, scale, offset and timings.
⚙️ Automation
- Tasks — send a message, run a command, or execute a JEXL script, with delay, period, repeat count, an icon and a hotkey. A quick-execute radial triggers any task with left click (run), middle click (delete) or right click (edit / create).
- Event subscriptions — 26 event types (input, client lifecycle and tick, server / game join and exit, death and respawn, block breaking, command and message send / receive, attack, pick, item use, sound play) firing one of four actions: command, message, script, or "add a tick task".
- Scripting — JEXL based, usable from
/hs:eval, tasks, events, matchers and the item-info renderer. Acommon:API covers messaging, notifications, toasts, key and mouse simulation, movement, shared global data and config editing, alongside wrapped game objects for entities, items, blocks, hit results and sounds. Vanilla record components (such as the firework component) can be read field by field.
? Tools
- Item editor — create items with data components: dedicated editors for the common components, a generic serialized-data editor for the rest, entries taken from the registry or a whole tag. Put the result into your inventory in creative, or copy a
/givecommand. - Custom radial menus — any number of named radial menus, each with its own hotkey and task list, fully configurable appearance, and one-click import from the task manager.
- Matchers — the shared "which item / which block" conditions behind the features above, with all / any / none modes, include or exclude per entry, in-game test buttons for the held item and the targeted block, and import / export.
⌨️ Default hotkeys
| Hotkey | Action |
|---|---|
H + S |
Open the HiiroSakura screen |
Left Shift |
Chain doors: the key used by the per-rule key mode |
Every other hotkey — firework quick-use, camera switch, radial menus, the quick-execute radial, the individual feature toggles and task hotkeys — is unbound by default. Record your own in the settings screen.
? Documentation
Full player documentation lives in the repository:
- Index
- Rendering · Gameplay · Chat
- Task manager · Event subscriptions · Scripting
- Menus & item editing · Matchers
⚠️ Good to know
- Some features act through your own client by sending vanilla packets — auto replant, chain doors, elytra switching, and simulated input from scripts. The server still does not need the mod.
- A few interfaces have limits: item drop intercept cannot catch every drop path, the dropped-item render distance is compared as a squared distance, and scripts cannot construct objects or hand functions to Java APIs.
- Settings, tasks, event subscriptions, radial menus and the item editor list are all stored under
config/hiirosakura/.
? Links
- GitHub:
- Issues and feedback:
- Changelog:
? License
MIT
? Enjoy a more elegant Minecraft experience!
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
下载 hiirosakura
- 修复了聊天过滤和消息接收事件未应用于服务器系统消息的问题:Mixin 现在挂钩写入聊天队列的入口点,因此玩家消息和系统消息均会被处理
HiiroSakura 4.0.0+alpha
需要 Minecraft 26.2 · Fabric 与 NeoForge
UI 重构
- 整个界面已迁移至 IbukiGourd 1.0.0-alpha(sokitsu 组件库)以及全新的基于 Compose 的渲染器。
- 所有屏幕均已适配新框架:物品编辑器、任务管理器、事件订阅、自定义径向菜单、快捷任务菜单、配置对话框、聊天过滤/注入、声音列表及匹配器映射。
物品编辑器
- 更简洁的组件编辑器布局,新增显示字段和开关。
- 按住快捷操作键的同时点击“编辑/添加”即可编辑原始 JSON。
- 新增多物品选择器和浮动添加按钮;修复了切换选择器分类时的卡死问题。
- 修复了由未绑定的动态注册表持有者导致的崩溃。
径向菜单
- 新增跟随指针的 3D 倾斜效果,支持配置倾斜角度(默认 4°,最大 20°)。
其他
- 聊天气泡现使用 sokitsu 纹理图集渲染,并支持文本样式。
- 修复了世界纹理管线、fuse 条长度、配置对话框字段顺序、烟花匹配及按键冲突提示等问题。
这是一个 UI 经过重构的 Alpha 版本——更新前请备份您的配置文件。 如果您基于 HiiroSakura 的 UI API 进行开发,请更新至 IbukiGourd 1.0.0-alpha。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧