Immersive Engineering Blueprint Tweaker

Immersive Engineering Blueprint Tweaker

为IE蓝图回溯移植CraftTweaker支持,并允许调整工程师手册

工具

这个小型的附属模组是现代版沉浸工程中 CraftTweaker 蓝图配方支持的回移植版本。

此模组专为使用 Minecraft 1.7.10 版本的整合包作者设计,使他们能够使用 ZenScript 自定义蓝图(见下文)

 

添加蓝图

mods.immersiveengineering.Blueprint.addRecipe(String category, IItemStack output, IIngredient[] inputs);

移除蓝图

mods.immersiveengineering.Blueprint.removeRecipe(IItemStack output);

 

更多信息请参见 https://docs.blamejared.com/1.12/en/Mods/Immersive_Engineering/CraftTweaker_Support/Blueprint

 

此外,此附属模组允许用户通过添加/移除条目和页面来修改工程师手册

 

移除条目

mods.immersiveengineering.Manual.removeEntry(String name);

 

移除特定页面

mods.immersiveengineering.Manual.removePage(String name, int pageNum);

 

添加页面

mods.immersiveengineering.Manual.addTextPage(String name, String text, @Optional String category, @Optional int pageNum);

 

添加文本页面的示例

game.setLocalization("ie.manual.category.gregtech.name", "Greg Tech");
game.setLocalization("ie.manual.entry.ochem.name", "Organic Chemistry");
game.setLocalization("ie.manual.entry.ochem.subtext", "");
game.setLocalization("ie.manual.entry.ochem0", "this is the first page");
game.setLocalization("ie.manual.entry.ochem1", "this is the second page");
game.setLocalization("ie.manual.entry.ochem2", "this is the third page");
mods.immersiveengineering.Manual.addTextPage("ochem", "ochem2", "gregtech"); // create a new category (gregtech) and entry (ochem)
mods.immersiveengineering.Manual.addTextPage("ochem", "ochem0"); // default insert as first page
mods.immersiveengineering.Manual.addTextPage("ochem", "ochem1", 1); // insert at page index 1