配方&data表

This commit is contained in:
GaLicn 2025-12-12 15:48:28 +08:00
parent cb1f6de93b
commit af50ca5d3a
6 changed files with 85 additions and 2 deletions

View File

@ -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"
]
}
}

View File

@ -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"
}
}

View File

@ -59,5 +59,14 @@ public class CrafterRecipe extends RecipeProvider {
.unlockedBy("has_quantum_ring", has(AEBlocks.QUANTUM_RING))
.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);
}
}

View File

@ -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"
}
]
}
]
}

View File

@ -11,6 +11,7 @@
"extendedae_plus:1024x_crafting_accelerator",
"extendedae_plus:assembler_matrix_speed_plus",
"extendedae_plus:assembler_matrix_crafter_plus",
"extendedae_plus:assembler_matrix_pattern_plus"
"extendedae_plus:assembler_matrix_pattern_plus",
"extendedae_plus:labeled_wireless_transceiver"
]
}

View File

@ -11,6 +11,7 @@
"extendedae_plus:1024x_crafting_accelerator",
"extendedae_plus:assembler_matrix_speed_plus",
"extendedae_plus:assembler_matrix_crafter_plus",
"extendedae_plus:assembler_matrix_pattern_plus"
"extendedae_plus:assembler_matrix_pattern_plus",
"extendedae_plus:labeled_wireless_transceiver"
]
}