Скачать project-304092 — Minecraft Моды — ModStock

project-304092

Архивирован

Установок

2

Последнее обновление

6 лет назад
Клиент
Библиотеки

With the retirement of Azanor, this addon is no longer supported. For more information visit my discord, or subscribe star page.

https://discordapp.com/channels/480667829126037505/480667938580594688

https://www.subscribestar.com/frontrider

Allows mods to expose which research files are loaded, allowing modpack makers to tinker with the progression. Can also be used to add new research tabs.

Originally a feature of Thaumic Arcana, but was extracted because it can be useful for modpacks.

Usage

there are 2 folders under config/thaumcraftresearchloader:

category:

stores a json files, describing a research tabs:

 

{
   //the aspects that will be used to determine which items give this research
  "aspects": [
    {
      "name": "Alkimia",
      "amount": 30
    },
    {
      "name": "Victus",
      "amount": 10
    },
    {
      "name": "Praecantatio",
      "amount": 10
    },
    {
      "name": "Lux",
      "amount": 5
    },
    {
      "name": "Aversio",
      "amount": 5
    },
    {
      "name": "Terra",
      "amount": 5
    },
    {
      "name": "Aqua",
      "amount": 5
    }
  ],
//the internal name of the research tab
  "key": "BIOMANCY",
//the research that has to be comleted before it unlocks
  "required_research": "MINDBIOTHAUMIC",
//the tab's icon, must be a resource location
  "icon": "thaumic_arcana:textures/research/cat_biomancy.png",
//the tab's icon, background texture, must be a resource location
  "background": "thaumcraft:textures/gui/gui_research_back_7.jpg",
  "background_overlay": "thaumcraft:textures/gui/gui_research_back_over.png"
}

research:

a text file, containing resource locations (one on each line) pointing at research json files.
eg: modid:research/researchfilename


Update:
Because of an unexpected thing in the loading mechanism of thaumcraft, the files must be placed in a jar, under the mods folder, than place the files into the resource pack of that. No code needs to be compiled.
Can be created from the forge example mod, but only the contents of src/main/resources needs to be in the jar (create a zip, rename it to jar). Replace what needs to be replaced in the mod json.

Участники проекта
thefrontrider

thefrontrider