跳到正文

Judgment API

作者:Aizistral

An API for Thaumcraft & MineTweaker 3, that provides additional possibilities in research customization

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This API implements the same research trigger system and MineTweaker integration features as used in Forgotten Relics, but with initially clear list of forgotten knowledge – for you to add your own things there.

For more info about those mechanics, click here and here.

If you like the system I’ve designed and want to use it’s tools, but for some reason don’t want or can’t have the Forgotten Relics itself in your modpack – here it comes. You can also use it alongside with Forgotten Relics, if for some reason you want having two different lists of forgotten knowledge that are handled completely separate.

Should be obvious, but you CAN use this API as you wish and put it in whatever modpack you would like.

Discord Badge

There are only two differences between API’s and original addon’s interaction:


1.
Judgment API’s methods in MineTweaker scripts should be declared like this:

mods.judgmentapi

Instead of this:

mods.forgottenrelics

2. To get the list of forgotten knowledge researches handled exclusively by the API, use this command:

/minetweaker forgottenKnowledgeAPI

As you should have already understood, Forgotten Relics and Judgement API will always have separate lists of forgotten knowledge that do not intersect in any way, so have that in mind if you are going to use both.

In every other aspect, Judgement API’s and Forgotten Relics’ systems work exactly the same as described in articles linked above. The API also has it’s config file, where you can adjust frequency and probability of revelations as you see fit.

The notification that player receives when new research is unlocked to them by Justice Handler is initially exactly the same as in Forgotten Relics, but you may feel free to edit it either in the .lang file or via MineTweaker’s game.setLocalization(), by localizing the “judgementapi.unlock_notification” thing.

In conclusion, I must say that about two or three years ago, when I first came to playing around with MineTweaker and ModTweaker, I felt that something like this should’ve been an absolutely neccesary tool. I mean, the idea is insanely simple – create a research and make it only available to player if they have scanned some specific items with their thaumometer, right? The ModTweaker thought I was wrong.

Years after, I finally had a honor to fix this injustice.

常见问题

Judgment API 支持哪些 Minecraft 版本?

Judgment API 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Judgment API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Aizistral 的其他作品

查看全部 →