Custom Rumors and Destiny Structures - Luke100000/minecraft-comes-alive GitHub Wiki

It is possible to add additional spawn locations player can select in the destiny screen, as well as rumors.

Rumor

Config

structuresInRumors is a list of structure ids (Same as used in the locate structure command). Extend them with your ids, e.g. namespace:your_structure.

Lang

Add the translation when the villagers picks that rumor. %2$s is the position, use it.

"dialogue.location.your_structure/1": "I found a structure at %2$s."

We use slash and a number to allow multiple phrases and variation.

Destiny

Destiny locations are starter location when the Destiny screen at the very beginning is enabled.

Config

Add your structure identifier to the destinySpawnLocations list, e.g.: namespace:your_structure.

The story consists of 3 parts, one generic phrase, one travelling related phrase and one for the destination.

If the default phrase for travelling is unfitting, add your exception to destinyLocationsToTranslationMap.

"destinyLocationsToTranslationMap": {
    "namespace:your_structure": "destiny.story.something_special",
}

Lang

Add the name of the target, without namespace, e.g.: gui.destiny.your_structure

If you have custom translations for the second phrase, also add:

"destiny.story.something_special/1": "Describe the journey blablabla.",