What are you searching for?

Research Station

Research Station

A Simple Research System

download 236.8K Downloads · favorite 5 Followers · Updated 10 months ago
Neoforge 1.21 1.21.1

Versions

inventory_2
Research Station 1.0.6

1.0.6 · 10 months ago · 113.03 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Research Station 1.0.4

1.0.4 · 11 months ago · 113.19 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Research Station 1.0.2

1.0.2 · 1 year ago · 113.33 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Research Station 1.0.1

1.0.1 · 1 year ago · 113.33 KB

Release download
Neoforge 1.21 1.21.1
inventory_2
Research Station 1.0.0

1.0.0 · 1 year ago · 120.59 KB

Release download
Neoforge 1.21 1.21.1

About

title image

This mod adds a research system similar to the one used in Ancient Warfare 2.

You will use the Research Station to do research and the Engineering Station to craft researched items.

The Engineering Station can be used for normal crafting too and supports JEI.

Creating Research Definitions:

Every research is defined by a json file in config/researches/. This directory should be created on first run, or you create it yourself. The json files are loaded and displayed in the research book in alphabetic order of the filenames, so if you want to group your researches together / order them you can give them similar filenames like "mymodresearch001", "mymodresearch002".

This is an example research definition:

{
      "id": "example Research 1",
      "ticksRequired": 100,
      "requiredResearches": [],
      "requiredItems": [
        {
          "id": "c:ingots/iron",
          "amount": 4
        }
      ]
}

It has no required researches and need 4 iron ingots to unlock. it takes 100 ticks to complete.

Here is another research, it requires "example Research 1" to be completed:

{
      "id": "example Research 2",
      "ticksRequired": 300,
      "requiredResearches": [
        "example Research 1"
      ],
      "requiredItems": [
        {
          "id": "minecraft:string",
          "amount": 128
        }
      ]
}

Creating Research Crafting Recipes:

Every research-crafting recipe is defined as a json file in config/research_recipes. This directory should be created on first run too. Here is an example of how a recipe can look like:

{
      "requiredResearch": "example Research 1",
      "output": {
        "id": "minecraft:dirt",
        "amount": 10
      },
      "pattern": [
        "   ",
        "ABA",
        "   "
      ],
      "keys": {
        "A": {
          "input": { "id": "c:ingots/iron", "amount": 2 }        
        },
        "B": {
          "input": { "id": "minecraft:string", "amount": 1 }
        }
      }
    }

The pattern should always be 3x3. Research recipes support consuming multiple items per slot.

They also support converting a used item to a new item, for example if you want to use a water bucket and give back an empty water bucket. It would look similar to this, notice that i added onComplete to the recipe:

{
      "requiredResearch": "example Research 2",
      "output": {
        "id": "minecraft:diamond",
        "amount": 10
      },
      "pattern": [
        "   ",
        "ABA",
        "   "
      ],
      "keys": {
        "A": {
          "input": { "id": "c:ingots/gold", "amount": 2 },
          "onComplete": { "id": "minecraft:stone", "amount": 1 }
        },
        "B": {
          "input": { "id": "minecraft:string", "amount": 1 }
        }
      }
    }

This recipe will consume a total of 4 gold ingots, (2 for every 'A') and it will product a total of 2 stone (1 for every A).

open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel LicenseRef-All-Rights-Reserved

Conversation

What are your thoughts?

lock Cookie consent

SkinMC uses cookies to provide functionality and features.