配方&data表
This commit is contained in:
parent
b1c6e02289
commit
7de602c373
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"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_wireless_transceiver",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"extendedae_plus:labeled_wireless_transceiver"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
|
|
@ -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": {
|
||||
"item": "extendedae_plus:labeled_wireless_transceiver"
|
||||
},
|
||||
"show_notification": true
|
||||
}
|
||||
|
|
@ -159,6 +159,16 @@ public class CraftingRecipes extends RecipeProvider {
|
|||
.define('C', ModItems.CRAFTING_ACCELERATOR_256x.get())
|
||||
.unlockedBy("has_256x", has(ModItems.CRAFTING_ACCELERATOR_256x.get()))
|
||||
.save(consumer, ExtendedAEPlus.id("network/crafting/" + ModItems.CRAFTING_ACCELERATOR_1024x.get().toString().toLowerCase()));
|
||||
|
||||
ShapedRecipeBuilder.shaped(RecipeCategory.MISC,ModItems.LABELED_WIRELESS_TRANSCEIVER.get())
|
||||
.pattern("AAA")
|
||||
.pattern("ABA")
|
||||
.pattern("AAA")
|
||||
.define('A', Items.PAPER)
|
||||
.define('B', ModItems.WIRELESS_TRANSCEIVER.get())
|
||||
.unlockedBy("has_wireless_transceiver", has(ModItems.WIRELESS_TRANSCEIVER.get()))
|
||||
.save( consumer)
|
||||
;
|
||||
}
|
||||
|
||||
private void addCardRecipes(Consumer<FinishedRecipe> consumer) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "extendedae_plus:labeled_wireless_transceiver"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
"extendedae_plus:256x_crafting_accelerator",
|
||||
"extendedae_plus:1024x_crafting_accelerator",
|
||||
"extendedae_plus:assembler_matrix_crafter_plus",
|
||||
"extendedae_plus:assembler_matrix_pattern_plus"
|
||||
"extendedae_plus:assembler_matrix_pattern_plus",
|
||||
"extendedae_plus:labeled_wireless_transceiver"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"extendedae_plus:256x_crafting_accelerator",
|
||||
"extendedae_plus:1024x_crafting_accelerator",
|
||||
"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