跳到正文

Better Chatting

作者:FeSo4a

This project changes some types of chatting

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

BetterChatting Data Pack

Enhance your Minecraft chat experience with the BetterChatting data pack! This pack adds interactive and visually appealing chat messages with hover effects, clickable actions, and custom formatting for various chat types.

IMPORTANT

CLICK EVENT CANNOT WORK AS USUAL IN 1.20.X


Features

  • Interactive Chat Messages: Hover over messages to see tooltips and click to perform actions.
  • Custom Formatting: Unique prefixes and styles for different chat types.
  • Clipboard Integration: Copy predefined text with a single click.
  • Command Suggestions: Quickly suggest commands by clicking on chat messages.
  • Narration Support: Improved accessibility with narration keys for screen readers.

Installation

  1. Download the latest version of the data pack from the releases section.
  2. Place the downloaded file into your Minecraft world’s datapacks folder:
   <world_folder>/datapacks/
  1. Reload the world or run the following command in-game:
   /reload

Supported Chat Types

The data pack modifies the following chat types with enhanced features:

| Chat Type | Prefix | Features |
|——————————|————–|————————————————————————–|
|chat.json| [P] | Gray text with hover tooltip suggesting /me agreed. |
|emote_command.json| [*] | Italic white text with hover tooltip suggesting /me D:. |
|msg_command_incoming.json| [Player -> you]| Red text with hover tooltip to copy “Talk to you later”. |
|msg_command_outgoing.json| [you -> Player]| Red text with hover tooltip to copy “Talk to you later”. |
|say_command.json| [OP] | Bold white text with hover tooltip suggesting /me OK. |
|team_msg_command_incoming.json| [TeamName] | Bold blue text with hover tooltip suggesting /teammsg agreed. |
|team_msg_command_outcoming.json| [-> TeamName] | Bold blue text with hover tooltip suggesting /teammsg agreed. |


Usage Examples

Public Chat

  • Message: [P] Steve: Hello! [like]
  • Hover Tooltip: [P] Click to agree.
  • Action: Suggests /me agreed when clicked.

Emote Command

  • Message: [*] Steve waves [D:]
  • Hover Tooltip: [*] Click to send 'D:'.
  • Action: Suggests /me D: when clicked.

Private Message

  • Message: [Steve -> you] Hi there! [ttyl]
  • Hover Tooltip: [C] Click to copy 'Talk to you later'.
  • Action: Copies “Talk to you later” to clipboard when clicked.

Requirements

  • Minecraft Version: Java Edition 1.20 or later.
  • Pack Format: Compatible with pack formats 15–94.
  • World Permissions: Must have operator permissions to install and reload datapacks.

Configuration

To customize the behavior of the chat messages:

  1. Edit the JSON files in the data/minecraft/chat_type/ directory.
  2. Modify the translation_key, style, or click_event fields as needed.
  3. Run /reload to apply changes.

License

This project is licensed under the MIT License.


Contact

For questions, suggestions, or issues, feel free to reach out:

Enjoy chatting in style with BetterChatting!

常见问题

Better Chatting 支持哪些 Minecraft 版本?

Better Chatting 支持 Minecraft Java 版 1.20–26.2,共 23 个版本。下载时注意选择和你游戏版本一致的文件。

Better Chatting 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

FeSo4a 的其他作品

查看全部 →