Ladysnake / Blabber

An extensible data-driven Dialogue API for Minecraft
https://ladysnake.org/wiki/blabber
GNU Lesser General Public License v3.0
4 stars 8 forks source link

Add the notion of interlocutor to Blabber #7

Closed Pyrofab closed 1 year ago

Pyrofab commented 1 year ago

Realized quite a few use cases for dialogues involved someone to talk to, so here goes.

At first the feature scope was :

The latter change however means the dialogues have to be parsed and sent whenever a player starts one. Therefore, the registry's contents would only be used clientside to provide the suggestions in commands. It seemed to me that this may be somewhat overkill, so I killed the synced registry part, and synced just the identifiers using the new configuration phase.

Having removed one reason to use Minecraft's dynamic registries, I started looking at the other ones :

However, they present some rather large downsides :

Considering the cost of an in-house data loader is rather minimal, I figured this way may be best. The lack of registry events may be an issue for future add-on development, but I figured we could add our own callbacks when the need arises.

Future considerations :