通过 Defier,你可以将红石能转化为物品。本模组深受 Draconic Evolution 的融合合成与 Industrial Craft 2 的批量制造机的启发。如果对应的模组已安装,本模组还会添加针对 Draconic Evolution 和 Thermal Foundation 物品的合成配方。
入门指南
1. 制作压缩机。
2. 向压缩机输入 20 亿个物品(可配置)。压缩机存储的物品越多,消耗的 RF 就越多。确保压缩机每秒至少接收 100,000 RF(可配置)。务必保证压缩机永远不会耗尽 RF。当压缩机接收到 20 亿个物品后,它会破裂并掉落一个 Defier 核心。
3. 制作 Defier 和图案模具。
4. 要创建物品图案,请将一张图案纸(不必为空)和一个兼容的物品放入图案模具中,即可生成该物品的图案。使用 JEI 可查看完整的兼容物品列表。
5. 将图案放入 Defier 中。
6. 要为 Defier 提供能量,需要使用能量供给器。一个能量供给器每次可向 Defier 传输最多 100 万 RF(可配置)。右键点击能量供给器并使用速度之星,可以增加其发送 RF 的频率。将能量供给器放置在 Defier 附近,当 Defier 准备就绪时,供给器便会自动输送能量。
自定义配方
该模组会在 /config/defier/recipes/ 文件夹中搜索 json 文件。
可以有多个文件,文件名可以任意设定。
所有配方文件必须是一个 JSON 对象,其中包含一个名为 recipes 的 JSON 数组。数组中的每个元素代表一个不同的配方定义。
所有配方定义必须包含一个字符串类型的 item(用于配方的物品)和一个数字类型的 cost(配方的 RF 消耗)。还可以可选地包含一个数字类型的 meta 来指定物品的元数据(Damage Value)。
通过配置文件定义的所有配方都会覆盖默认配方。如果将 cost 设置为 -1,则默认配方将被直接移除。
示例文件如下所示:
{
"recipes": [
{
"item": "minecraft:cobblestone",
"cost": 10000
},
{
"item": "minecraft:sponge",
"cost": 5000
}
]
}
截至目前,依赖其他值(如堆叠数量或物品 NBT)的配方需要通过模组 API 添加(见下文)。
通过模组添加自定义配方
注册自定义配方非常简单。你需要订阅 DefierRecipeRegistryEvent 事件。通过该事件,你可以使用物品、物品与元数据(meta),或者 DefierRecipe 类的自定义实现来注册配方。
With Defier, you can turn redstone flux into items. This mod was heavily inspired by Draconic Evolution's fusion crafting and Industrial Craft 2's mass fabricator. The mod also adds recipes for Draconic Evolution and Thermal Foundation items if their respective mod is present.
Getting Started
1. Craft the compressor.
2. Input 2 billion items (configurable) into the compressor. The more items the compressor has stored, the more RF the compressor uses. Make sure the compressor receives at least 100k RF/tick (configurable). MAKE SURE THE COMPRESSOR NEVER RUNS OUT OF RF. When the compressor recieves 2 billion items, it will break and drop a defier core.
3. Craft a defier and a pattern molder.
4. To create an item pattern, place a pattern (does not have to be empty) and a compatible item into the pattern molder to get a pattern for that item. Use JEI to get a complete list of compatible items.
5. Place the pattern inside of the defier.
6. To get energy to the defier, energy providers will need to be used. One energy provider can transfer up to 1 million RF (configurable) to the defier at a time. Right clicking an energy provider with a speed star will increase how often the energy provider sends RF. Place an energy provider near a defier and the provider will send energy when the defier is ready.
Custom Recipes
The mod will search the /config/defier/recipes/ folder for json files.
There can be multiple files and they can be named anything you want.
All recipe files must be a json object with a json array as an element called recipes. Each element of the array is a different recipe definition.
All recipe definitions must contain a string item (the item to be used for the recipe) and a number cost (cost in RF of the recipe). An optional number meta can be included to specify the meta of the item.
All recipes defined via config will override default recipes. If the cost is set to -1, the default recipe will simply be removed.
An example file would look like:
{
"recipes": [
{
"item": "minecraft:cobblestone",
"cost": 10000
},
{
"item": "minecraft:sponge",
"cost": 5000
}
]
}
As of now, recipes that rely on other values such as stack size or itemstack NBT will need to add recipes using a mod (see below).
Custom Recipes Via Mod
Registering your own recipes is very easy. You will need to subscribe to the DefierRecipeRegistryEvent event. Using the event, you can register using an item, item and meta, or a custom implementation of the DefierRecipe class.
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
下载 Defier
添加了配置选项以禁用默认图案
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧