配方
This commit is contained in:
parent
6d061da825
commit
12548a109a
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_mirror_pattern_binding_tool": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "extendedae_plus:mirror_pattern_binding_tool"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "extendedae_plus:mirror_pattern_binding_tool"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_mirror_pattern_binding_tool"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"extendedae_plus:mirror_pattern_binding_tool"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_mirror_pattern_provider": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "extendedae_plus:mirror_pattern_provider"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "extendedae_plus:mirror_pattern_provider"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_mirror_pattern_provider"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"extendedae_plus:mirror_pattern_provider"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "ae2:wireless_receiver"
|
||||
},
|
||||
"B": {
|
||||
"item": "minecraft:iron_ingot"
|
||||
},
|
||||
"C": {
|
||||
"item": "minecraft:redstone"
|
||||
},
|
||||
"D": {
|
||||
"item": "ae2:calculation_processor"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
" A",
|
||||
"BCD",
|
||||
"BBB"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "extendedae_plus:mirror_pattern_binding_tool"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"category": "misc",
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "minecraft:glass"
|
||||
},
|
||||
"B": {
|
||||
"item": "ae2:pattern_provider"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
"AAA",
|
||||
"ABA",
|
||||
"AAA"
|
||||
],
|
||||
"result": {
|
||||
"count": 1,
|
||||
"id": "extendedae_plus:mirror_pattern_provider"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
package com.extendedae_plus.datagen;
|
||||
|
||||
import appeng.core.definitions.AEBlocks;
|
||||
import appeng.core.definitions.AEItems;
|
||||
import com.extendedae_plus.ExtendedAEPlus;
|
||||
import com.extendedae_plus.init.ModItems;
|
||||
import com.glodblock.github.extendedae.common.EAESingletons;
|
||||
|
|
@ -69,5 +70,27 @@ public class CrafterRecipe extends RecipeProvider {
|
|||
.define('B', ModItems.WIRELESS_TRANSCEIVER.get())
|
||||
.define('C',Items.EMERALD)
|
||||
.save(output);
|
||||
|
||||
//镜像样板供应器
|
||||
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.MIRROR_PATTERN_PROVIDER.get())
|
||||
.pattern("AAA")
|
||||
.pattern("ABA")
|
||||
.pattern("AAA")
|
||||
.unlockedBy("has_mirror_pattern_provider",has(ModItems.MIRROR_PATTERN_PROVIDER.get()))
|
||||
.define('A',Items.GLASS)
|
||||
.define('B',AEBlocks.PATTERN_PROVIDER)
|
||||
.save(output);
|
||||
|
||||
//镜像样板绑定工具
|
||||
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.MIRROR_PATTERN_BINDING_TOOL.get())
|
||||
.pattern(" A")
|
||||
.pattern("BCD")
|
||||
.pattern("BBB")
|
||||
.unlockedBy("has_mirror_pattern_binding_tool",has(ModItems.MIRROR_PATTERN_BINDING_TOOL.get()))
|
||||
.define('A', AEItems.WIRELESS_RECEIVER)
|
||||
.define('B', Items.IRON_INGOT)
|
||||
.define('C', Items.REDSTONE)
|
||||
.define('D', AEItems.CALCULATION_PROCESSOR)
|
||||
.save(output);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user