Download Conversations — Minecraft Mods — MetaMods

Conversations

Active

Downloads

0

Last update

7 months ago
Client
Adventure
Decor

Conversations

A Simple Mod for Creating Dialogues with Any Creatures


Mod Capabilities

Conversations is a compact addon that allows map creators to add personalized dialogues for any creatures in the Minecraft world. All configuration is done through datapacks, making the process flexible and convenient.

How to Use

Assign dialogue to any creature using the command:

/conversations set <creature> <dialogue identifier>

You can also forcibly start dialogue for any player without linking to a speaking creature:

/conversations start <player> <dialogue identifier> <speaker #optional>

Creating Dialogues

The process of creating dialogues is very simple. Create a datapack and in the data directory under your namespace add a "conversations" folder, then create a .json file in it.

  • The file name will become the dialogue identifier, and your pack's namespace will be used as the namespace. For example: if the pack name is "pack" and the file name is "test.json", then the dialogue identifier will be "pack:test"

JSON file structure for dialogues:

{
    "title": "string", #string #required
    "starting_index": 0, #integer
    "global_actions": [ #optional list of actions that can be called from anywhere
        { #example of a conditional action object
            "condition":"", #string
            "action":"" #string #required
        }
    ],
    "dialogues": [ #required
        {
            "dialogue": "", #string #required
            "replies":[ #required
                {
                    "reply":"", #string #required
                    "action": #list or single action object #required
                }
            ],
            "condition": "", #string
            "type_sound":"", #string
            "talk_sound": {
                "sound":"", #string
                "volume": 0.5, #double
                "pitch": 0.5 #double
            },
            "timings": [0.5, 1.5, 5.0, 10.0] #array of doubles
        }
    ]
}

Sorry for the brief and possibly incomplete documentation - this mod was created for the Lazr's Horde project.

Project members
LazrProductions

LazrProductions

Created: 24 Mar 2025

ID: 258344