promotional bannermobile promotional banner

BRNTalk

A simple IM-style dialogue / talk UI mod for Minecraft
Back to Files

BRNTalk 1.4.2 - 1.21.1 NeoForge

File namebrntalk-mc1.21.1-1.4.2.jar
Uploaded
Nov 7, 2026
Downloads
9
Size
265.6 KB
Mod Loaders
NeoForge
File ID
9489993
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:brntalk-1532911:9489993"

Learn more about Curse Maven

What's new

中文

本次更新适用于 Minecraft 1.21.1 NeoForge。网络协议升级至 2,客户端与服务端需要同步更新。

改动

  • 对话选择:按钮绑定显示时的会话和消息位置,拒绝重复或过期请求,避免误答下一题或重复执行剧情动作。
  • 剧本重载:全部候选剧本通过校验后统一生效;语法错误、断链和重复 ID 会保留旧剧本及进行中的对话,合法删除仍可生效。
  • 历史同步:全量历史、新对话和追加消息按最多 32 KiB 分片传输,收齐后更新界面;单次传输上限为 64 MiB,编码失败会提示并保留存档,超时或断线时清理未完成传输。
  • 客户端状态:退出服务器时清理对话状态;全量同步替换会话后清理旧已读请求,避免旧请求影响新会话。

技术性更改

  • 对话操作:统一启动、选择、继续和清除流程,集中协调存档、消息事件、完成判定与客户端同步;操作结果使用独立消息快照。
  • 运行数据与恢复:分离剧本仓库、玩家线程存储与历史恢复流程,合并登录时重复的线程重建和全量同步,并补齐玩家退出、服务器停止时的清理。程序化剧本注册也会校验完整候选集合,无效候选抛出 IllegalArgumentException 并保留原活动集合。
  • 界面职责:分离选项区域和已读请求协调,使按钮布局、点击上下文及已读确认可以独立维护。

English

Minecraft 1.21.1 NeoForge only. Network protocol 2 requires both clients and servers to update.

Changed

  • Dialogue choices: bind buttons to the session and message position displayed when they were created. Reject duplicate or stale requests to prevent answering the next question or repeating dialogue actions.
  • Script reloads: activate the full candidate set only after validation succeeds. Syntax errors, broken links and duplicate IDs retain the previous scripts and live conversations; intentional deletion still applies.
  • History synchronization: transfer full history, new threads and appended messages in frames of at most 32 KiB, applying only complete transfers. Each transfer is limited to 64 MiB; encoding failures display a message and preserve saved history, while timeouts and disconnects clear incomplete transfers.
  • Client state: clear dialogue state when leaving a server and discard pending read requests from old sessions after full synchronization replaces them.

Technical Changes

  • Conversation operations: centralize start, choice, resume and clear flows, including persistence, message events, completion checks and client synchronization. Operation results use independent message snapshots.
  • Runtime data and recovery: separate the script repository, player thread storage and history restoration. Consolidate duplicate login rebuilds and full synchronization, and clean up runtime state on player logout and server shutdown. Programmatic script registration also validates the complete candidate set; invalid candidates throw IllegalArgumentException and retain the active set.
  • UI responsibilities: separate the choice area and read-request coordinator so button layout, click context and read acknowledgements can be maintained independently.

Full changelogs: English | 中文