chatbox for mc

a chatbox in mc

Mod Introduction

ChatBox is a dialog box mod designed for Minecraft, inspired by the dialog systems found in Galgames. You can configure it using data packs:

  • Pre-set multiple themes for dialog boxes and switch between them anytime using commands.

  • Customize the appearance, position, and size of dialog boxes, option boxes, history buttons, and character portraits.

  • Character portraits support multiple types: images, player avatars, and item textures. You can define custom entry animations for these portraits, with images having 3 preset animations.

  • Configure dialog text and multiple options for each line. Clicking options can trigger custom commands and jump to other dialogs.

  • All text elements (dialogs, options) support translation keys.

Since all dialog configurations are implemented through data packs, you can reload all dialog settings directly using the /reload command. Create beautiful dialog systems without modifying any code!

Built-in Commands

Switch themes:

/chatbox theme

Jump to a specific dialog:

/chatbox skip

Open dialog box:

/chatbox open

Event System

For KubeJS users, the mod provides predefined events:

//client_script

// Triggered BEFORE dialog rendering. Provides GuiGraphics for custom rendering. Cancellable.
ChatBoxEvents.renderPre(event=>{
  let getGuiGraphics = event.getGuiGraphics()
  event.cancel()
})

// Triggered AFTER dialog rendering. Provides GuiGraphics for custom rendering.
ChatBoxEvents.renderPost(event=>{
  let getGuiGraphics = event.getGuiGraphics()
})

// Triggered when jumping to a dialog. Provides dialog metadata for custom functionality.
ChatBoxEvents.skipChat(event => {
  let { chatBoxScreen, resourceLocation, group, index } = event
})

Additional Information

Example data packs and documentation are available on GitHub. Upcoming feature: The author is developing a web-based JSON generator to simplify dialog configuration. Stay tuned for its release!

Wiki:https://doc.mafuyu.moe

The chatbox for mc Team

profile avatar
  • 3
    Followers
  • 7
    Projects
  • 192.0K
    Downloads

More from zhenshizView all

  • ViScriptShop project image

    ViScriptShop

    • 36.9K
    • Mods

    An advanced shop mod featuring a built-in visual editor and a modern shopping cart experience.

    • 36.9K
    • June 25, 2026
    • Mods
    • +1
  • Moves Like Mafuyu project image

    Moves Like Mafuyu

    • 76.5K
    • Mods

    A lightweight action-oriented mod designed to optimize movement experience during exploration and building.

    • 76.5K
    • June 21, 2026
    • Mods
  • ViScriptRecipe project image

    ViScriptRecipe

    • 103
    • Mods

    A mod for visually editing recipes.

    • 103
    • June 18, 2026
    • Mods
  • ApricityUI project image

    ApricityUI

    • 569
    • Mods

    Build Minecraft UI with HTML + CSS + JS, follows Web standards as closely as possible.

    • 569
    • June 15, 2026
    • Mods
    • +1
  • ViScriptShop project image

    ViScriptShop

    • 36.9K
    • Mods

    An advanced shop mod featuring a built-in visual editor and a modern shopping cart experience.

    • 36.9K
    • June 25, 2026
    • Mods
    • +1
  • Moves Like Mafuyu project image

    Moves Like Mafuyu

    • 76.5K
    • Mods

    A lightweight action-oriented mod designed to optimize movement experience during exploration and building.

    • 76.5K
    • June 21, 2026
    • Mods
  • ViScriptRecipe project image

    ViScriptRecipe

    • 103
    • Mods

    A mod for visually editing recipes.

    • 103
    • June 18, 2026
    • Mods
  • ApricityUI project image

    ApricityUI

    • 569
    • Mods

    Build Minecraft UI with HTML + CSS + JS, follows Web standards as closely as possible.

    • 569
    • June 15, 2026
    • Mods
    • +1