Resource Packs - ACCBDD/complicated_bees GitHub Wiki

There are a few data-driven things that you will need a corresponding resource pack lang file for to avoid seeing raw translation keys.

Species

Each Species you add through a datapack will need six corresponding lang file entries:

{
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY": "SPECIES PLAIN LANGUAGE NAME",
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY.genus": "LATIN GENUS NAME",
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY.species_taxonomy": "GENUS INITIAL + LATIN SPECIES NAME",
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY.authority": "A NAME",
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY.flavor_text": "MULTI-LINE FLAVOR TEXT",
  "species.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY.flavor_author": "THE FLAVOR TEXT AUTHOR"
}

The translation keys are based off of your species' key as well as your datapack's namespace - for example, if you have a datapack with the namespace new_bees and a species definition in the data\complicated_bees\species folder named super_bee.json, all of its corresponding translation keys will start with species.complicated_bees.new_bees:super_bee.

  • The base key determines the name of the species - it is used in tooltips as well as the Species field in the analyzer.
  • The genus and species_taxonomy key determine the related fields in the taxonomy chart shown in the analyzer. This is simple flavor text, and has no bearing on actual gameplay. As a guideline, the species name of a bee will always start with the capitalized initial of its genus, then the actual species name in lowercase. (e.g. with a genus Apis and a species name Saltus, the species_taxonomy name would be A. saltus)
  • The authority, flavor_text, and flavor_author are all flavor text as well, and have no bearing on actual gameplay. They are shown at the bottom of the analyzer, and are a space for you to add some personality to your bees - generally, the authority should be a person (perhaps your screen name?) while the flavor text and flavor_author are a quote or anecdote describing the bee itself.

The five flavor keys, if not defined, have default values also defined in a resource pack lang file:

{
  "gui.complicated_bees.no_genus": "Apis?",
  "gui.complicated_bees.no_species": "?",
  "gui.complicated_bees.no_flavor": "Very little is known about this insect. You must investigate!",
  "gui.complicated_bees.no_author": "Anonymous",
  "gui.complicated_bees.no_authority": "N/A"
}

Comb

Each Comb you add through a datapack needs a name defined in a lang file:

{
  "comb.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY": "COMB PLAIN LANGUAGE NAME"
}

Similar to the Species keys, the key is based off of your comb's key as well as your datapack's namespace.

Flower

Each Flower you add through a datapack needs a name defined in a lang file:

{
  "flower.complicated_bees.DATAPACK_NAMESPACE:SPECIES_KEY": "FLOWER PLAIN LANGUAGE NAME"
}

Similar to the Species keys, the key is based off of your flower's key as well as your datapack's namespace.