Research Station 图标

Research Station

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.6
本资源为搬运资源,原资源地址: https://modrinth.com/mod/research-station
资源信息

Minecraft 版本: 1.21 1.21.1

平台: neoforge

资源介绍

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).

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ESU

价格:0 墨喵币
下载量:0

查看详情
Mizuno's Cow Variants x FA

价格:0 墨喵币
下载量:0

查看详情
ArborFirmaCraft (AFC)

价格:0 墨喵币
下载量:0

查看详情
Mace but 3D

价格:0 墨喵币
下载量:0

查看详情