Add Crafting Terminal recipe and advancement

This commit is contained in:
Shadowfacts 2021-03-28 14:53:11 -04:00
parent 2da707fcbd
commit 732fc86889
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
4 changed files with 86 additions and 0 deletions

View File

@ -80,6 +80,8 @@
"advancements.phycon.interface.description": "Place a Network Interface on a Cable to connect to a Chest", "advancements.phycon.interface.description": "Place a Network Interface on a Cable to connect to a Chest",
"advancements.phycon.terminal.title": "Spooky Action", "advancements.phycon.terminal.title": "Spooky Action",
"advancements.phycon.terminal.description": "Use a Terminal to interact with a Chest", "advancements.phycon.terminal.description": "Use a Terminal to interact with a Chest",
"advancements.phycon.crafting_terminal.title": "Multi-Tool",
"advancements.phycon.crafting_terminal.description": "Construct a Crafting Terminal",
"advancements.phycon.switch.title": "Interchange", "advancements.phycon.switch.title": "Interchange",
"advancements.phycon.switch.description": "Connect multiple devices with a Network Switch", "advancements.phycon.switch.description": "Connect multiple devices with a Network Switch",
"advancements.phycon.console.title": "Console", "advancements.phycon.console.title": "Console",

View File

@ -0,0 +1,35 @@
{
"parent": "phycon:terminal",
"display": {
"icon": {
"item": "phycon:crafting_terminal"
},
"title": {
"translate": "advancements.phycon.crafting_terminal.title"
},
"description": {
"translate": "advancements.phycon.crafting_terminal.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"crafting_terminal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "phycon:crafting_terminal"
}
]
}
}
},
"requirements": [
[
"crafting_terminal"
]
]
}

View File

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"phycon:crafting_terminal"
]
},
"criteria": {
"has_terminal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "phycon:terminal"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "phycon:crafting_terminal"
}
}
},
"requirements": [
[
"has_terminal",
"has_the_recipe"
]
]
}

View File

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "phycon:terminal"
},
{
"item": "phycon:item_processor"
},
{
"item": "minecraft:crafting_table"
}
],
"result": {
"item": "phycon:crafting_terminal"
}
}