
Researchd
本模组将 Factorio 的研究系统引入 Minecraft
该模组支持 KubeJS 和数据包自定义,允许整合包开发者添加自己的研究和研究包
内容
研究 (Researches)

根研究的 KubeJS 代码
ResearchdEvents.registerResearches(event => {
event.create('rd_example_js:wood')
.icon('minecraft:oak_log')
.method(ResearchMethodHelper.and(
ResearchMethodHelper.consumeItem('minecraft:wheat_seeds', 1),
ResearchMethodHelper.consumeItem('minecraft:dirt', 8)
))
.effect(ResearchEffectHelper.unlockRecipe('minecraft:oak_planks'));
});
研究包 (Research Packs)
研究实验室及其 GUI

研究包的 KubeJS 代码
ResearchdEvents.registerResearchPacks(event => {
event.create('rd_examples_js:test_pack')
.color(120, 150, 90)
.sortingValue(0);
});
支持版本
| NeoForge | 1.21.1 |
|---|
整合包开发信息
关于如何开始整合包开发,既有游戏内资源也有在线资源:
-
使用
/rd example kubejs和/rd example datapack命令生成示例数据包/脚本 -
在线维基位于
插件开发信息
有关开发插件的信息和帮助,请访问在线维基
许可证
本模组采用我们的“常识许可证”(Common Sense License)授权。
这意味着你只有在对代码进行重大更改(超过 50% 的代码修改)的情况下,才可以自由使用和修改代码。 这假设你使用的是完整的源代码。仅使用代码的一小部分是可以的。
无论你使用了多少,请确保始终注明出处。
如果项目停止开发,无论是通过官方公告、开发者失联还是项目长期处于无活动状态,所有限制条件 除了必须注明出处的要求外,都将解除。
我们不使用 GPL、MIT 或 Mozilla 等流行的开源许可证的原因在于过去糟糕的经历:我们的项目被窃取,并由模组社区中相当知名的人物重新上传。
依赖项
-
Porting Dead Mods(我们的库模组)是必需的依赖项
-
如果安装了 JEI,则还提供配方解锁效果和消耗物品方法的集成,允许玩家在 JEI 中查看配方
-
如果安装了 KubeJS,模组将加载 KubeJS 脚本,允许你添加自定义研究和研究包。
Discord
加入我们的 Discord 以获取帮助、提出建议并讨论该模组

Researchd
This mod implements the Factorio's research system into Minecraft
The mod supports both KubeJS and Datapack customization, allowing pack developers to add their own Researches and Research Packs
Content
Researches

The KubeJS code for the root research
ResearchdEvents.registerResearches(event => {
event.create('rd_example_js:wood')
.icon('minecraft:oak_log')
.method(ResearchMethodHelper.and(
ResearchMethodHelper.consumeItem('minecraft:wheat_seeds', 1),
ResearchMethodHelper.consumeItem('minecraft:dirt', 8)
))
.effect(ResearchEffectHelper.unlockRecipe('minecraft:oak_planks'));
});
Research Packs
The Research Lab and its GUI

The KubeJS code for the research pack
ResearchdEvents.registerResearchPacks(event => {
event.create('rd_examples_js:test_pack')
.color(120, 150, 90)
.sortingValue(0);
});
Supported Versions
| NeoForge | 1.21.1 |
|---|
Pack-dev info
For how to get started in pack dev, there are both in-game and online resources:
-
The
/rd example kubejsand/rd example datapackcommands for generating example datapacks/scripts -
The online wiki at
Addon-dev info
For info and help on developing addons visit the online wiki
License
This mod is licensed under our license, the 'Common Sense License'.
This means that you can use and modify the code freely only if you make major changes (>50%) code alteration. This assumes that you are using the entire source code. Using small parts of the code is fine.
Regardless of how much you use, make sure to always credit.
If development ends, either through an official announcement, unreachability of the developers and inactivity on the project for prolonged amounts of time, all restrictions except the requirement to provide credit drop.
The reason for us not using one of the popular open source licenses like GPL, MIT or Mozilla is due to bad experiences in the past where we had our projects stolen and reuploaded by rather famous figures in the modding community.
Dependencies
-
Porting Dead Mods (our library mod) is a required dependency
-
If JEI is installed, there is also integration for recipe unlock effects and consume item methods, which allow the player to look at the recipes in JEI
-
If KubeJS is installed, the mod will load KubeJS scripts, allowing you to add custom researches and packs.
Discord
Join our Discord to get help, make suggestions and chat about the mod
下载 Researchd
下载 Researchd
下载 Researchd
下载 Researchd
下载 Researchd
下载 Researchd
下载 Researchd
请参阅 GitHub 查看变更
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
查看物品与配方
模组
原版世界生成优化模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧