P1neros dialog Lib
Simplifies custom GUI dialog implementation with consistent styling for mod developers
介绍
For player:
you can modify your preference in config file.
#剧情对话是否使用[打字机效果]
enable_typewriter_effect = true
#[打字机效果]打字速度
#Range: > 1
typewriter_effect_speed = 2
#[打字机效果]打字间隔
#Range: > 1
typewriter_effect_interval = 2
#是否开启[背景框]
enable_background = true
#[选项]是否居中
option_in_center = false
#是否绘制[回答]的背景
enable_ans_background = false
#是否绘制[选项]的背景
enable_opt_background = false
#使用[渐变背景框]或[边框背景框]
faded_background = true
#对话框宽度
#Range: > 100
dialog_width = 300
For developer:
wiki: https://github.com/P1neapplell0/DialogueLib/wiki
This mod provides a dialog support library that allows you to conveniently construct dialogues. Although it only features a few styles, it is fully functional.
You can:
- Build dialogues like constructing a tree, supporting different branches for each option
- Adjust dialog box height
- Trigger custom events after button presses
- Send specified request codes to the server
For custom entity usage examples, refer to:
TuDiGong Entity
For existing entity usage examples, refer to:
You can also use datagen to generate dialog translation:
This mod extends the Valkyrie dialogue system from TheAether, adding:
- Typewriter effect
- Tree-like structure construction
- Position adjustment capabilities
- Image insertion functionality
- Cool background
- More api
Licensed under GNU Lesser General Public License v3.0.
常见问题
P1neros dialog Lib 支持哪些 Minecraft 版本?
P1neros dialog Lib 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
P1neros dialog Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
_p1nero 的其他作品
查看全部 →Epic Fight – Sword Soaring
你将进入中国古典武侠小说的世界,体验史诗般的武功和英雄之旅。
Epic Fight – Invincible Lib
一个让你更轻松创建按键组合和技能的前置库。
Bountiful Villager
一个内容丰富的附属模组,新增了一种村民职业和一座新建筑。
EpicFight-Extra
为 Epic Fight 添加大量动画。
评论
登录后评论和评分