配方&data表
This commit is contained in:
parent
cb1f6de93b
commit
af50ca5d3a
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:recipes/root",
|
||||||
|
"criteria": {
|
||||||
|
"has_the_recipe": {
|
||||||
|
"conditions": {
|
||||||
|
"recipe": "extendedae_plus:labeled_wireless_transceiver"
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:recipe_unlocked"
|
||||||
|
},
|
||||||
|
"has_wireless_transceiver": {
|
||||||
|
"conditions": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"items": "extendedae_plus:wireless_transceiver"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:inventory_changed"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"has_the_recipe",
|
||||||
|
"has_wireless_transceiver"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"rewards": {
|
||||||
|
"recipes": [
|
||||||
|
"extendedae_plus:labeled_wireless_transceiver"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"category": "misc",
|
||||||
|
"key": {
|
||||||
|
"A": {
|
||||||
|
"item": "minecraft:paper"
|
||||||
|
},
|
||||||
|
"B": {
|
||||||
|
"item": "extendedae_plus:wireless_transceiver"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pattern": [
|
||||||
|
"AAA",
|
||||||
|
"ABA",
|
||||||
|
"AAA"
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"count": 1,
|
||||||
|
"id": "extendedae_plus:labeled_wireless_transceiver"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -59,5 +59,14 @@ public class CrafterRecipe extends RecipeProvider {
|
||||||
.unlockedBy("has_quantum_ring", has(AEBlocks.QUANTUM_RING))
|
.unlockedBy("has_quantum_ring", has(AEBlocks.QUANTUM_RING))
|
||||||
.save(output);
|
.save(output);
|
||||||
|
|
||||||
|
//标签无线收发器
|
||||||
|
ShapedRecipeBuilder.shaped(RecipeCategory.MISC, ModItems.LABELED_WIRELESS_TRANSCEIVER.get())
|
||||||
|
.pattern("AAA")
|
||||||
|
.pattern("ABA")
|
||||||
|
.pattern("AAA")
|
||||||
|
.unlockedBy("has_wireless_transceiver", has(ModItems.WIRELESS_TRANSCEIVER.get()))
|
||||||
|
.define('A', Items.PAPER)
|
||||||
|
.define('B', ModItems.WIRELESS_TRANSCEIVER.get())
|
||||||
|
.save(output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:block",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"rolls": 1,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "extendedae_plus:labeled_wireless_transceiver"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:survives_explosion"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
"extendedae_plus:1024x_crafting_accelerator",
|
"extendedae_plus:1024x_crafting_accelerator",
|
||||||
"extendedae_plus:assembler_matrix_speed_plus",
|
"extendedae_plus:assembler_matrix_speed_plus",
|
||||||
"extendedae_plus:assembler_matrix_crafter_plus",
|
"extendedae_plus:assembler_matrix_crafter_plus",
|
||||||
"extendedae_plus:assembler_matrix_pattern_plus"
|
"extendedae_plus:assembler_matrix_pattern_plus",
|
||||||
|
"extendedae_plus:labeled_wireless_transceiver"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
"extendedae_plus:1024x_crafting_accelerator",
|
"extendedae_plus:1024x_crafting_accelerator",
|
||||||
"extendedae_plus:assembler_matrix_speed_plus",
|
"extendedae_plus:assembler_matrix_speed_plus",
|
||||||
"extendedae_plus:assembler_matrix_crafter_plus",
|
"extendedae_plus:assembler_matrix_crafter_plus",
|
||||||
"extendedae_plus:assembler_matrix_pattern_plus"
|
"extendedae_plus:assembler_matrix_pattern_plus",
|
||||||
|
"extendedae_plus:labeled_wireless_transceiver"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user