
HaoHan Display UI
HaoHan Display UI 是一个用于 Paper 和 Purpur 的服务端插件,可在 Minecraft 游戏世界中直接创建交互式界面。
它为插件开发者提供了一套简单的 API,用于结合文本、物品、方块、面板和可点击按钮与显示实体(Display Entities)。引擎负责渲染和交互处理,而使用该引擎的插件则决定界面的具体功能。
它可以用来构建机器面板、引导板、物品列表、分页菜单、命令按钮、文档链接以及针对单个玩家的私有界面。
这是一个供其他插件使用的引擎,而非现成的游戏玩法菜单。当其他插件需要此插件时安装它,或者使用内置的演示来查看其功能。
主要特性
- 文本、物品和方块的显示实体
- 富文本、RGB 颜色、渐变和文本样式
- 图标、列表、分层面板及灵活的对齐方式
- 可点击按钮和悬停描述
- URL、玩家指令、控制台指令和建议指令操作
- 固定、旋转或面向相机的界面
- 每个玩家的可见性及距离限制
- 场景更新、移动和自动清理
- 无需客户端模组
兼容性
- Minecraft
1.21.11
- Paper 和 Purpur
- Java 21 或更高版本
- 仅服务端
- 资源包可选
尝试演示
在游戏中运行以下命令:
/hhdui demo
演示展示了文本样式、物品列表、可点击行、相机模式、旋转、URL 和命令操作。
文档
安装说明、API 示例、构建步骤和完整的技术文档可在 GitHub 上找到:

HaoHan Display UI
HaoHan Display UI is a Paper and Purpur plugin for creating interactive interfaces directly inside the Minecraft world.
It gives plugin developers a simple API for combining text, items, blocks, panels, and clickable buttons with Display Entities. The engine handles rendering and interaction, while the plugin using it decides what the interface should do.
It can be used to build machine panels, guide boards, item lists, paginated menus, command buttons, documentation links, and private interfaces for individual players.
This is an engine for other plugins, not a ready-made gameplay menu. Install it when another plugin requires it, or use the included demo to see what it can do.
Main features
- Text, item, and block Display Entities
- Rich text, RGB colors, gradients, and text styles
- Icons, lists, layered panels, and flexible alignment
- Clickable buttons and hover descriptions
- URL, player command, console command, and suggested command actions
- Fixed, rotated, or camera-facing interfaces
- Per-player visibility and distance limits
- Scene updates, movement, and automatic cleanup
- No client mod required
Compatibility
- Minecraft
1.21.11
- Paper and Purpur
- Java 21 or newer
- Server-side only
- Resource pack optional
Try the demo
Run the following command in game:
/hhdui demo
The demo shows text styles, item lists, clickable rows, camera modes, rotations, URLs, and command actions.
Documentation
Installation instructions, API examples, build steps, and complete technical documentation are available on GitHub:
评论 0
登录后参与评分
还没有评论,来抢沙发吧