
P1neros dialog Lib
Simplifies custom GUI dialog implementation with consistent styling for mod developers
49
0
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.
Совместимость
Ссылки
Создатели
Детали
Лицензия:LGPL-3.0-only
Опубликован:3 недели назад
Обновлён:1 неделю назад
