P1nero's Dialogue Lib

Quick rating

Community listing page, reviews here may not be monitored by the author.

P1nero's Dialogue Lib

No reviews yet

Simplifies custom GUI dialog implementation with consistent styling for mod developers

Mod Loaders
Minecraft

About

Description

WARNING: This project will not be updated any more. We have a better choice: Arc Quest.

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:

IEntityDialogueExtension

ReceptionistDialogExtension

You can also use datagen to generate dialog translation:

ExampleLangProvider

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.