Add some advancements

This commit is contained in:
Shadowfacts 2021-03-09 18:36:55 -05:00
parent fab5dcdc35
commit 2035874baa
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
7 changed files with 220 additions and 1 deletions

View File

@ -47,5 +47,18 @@
"gui.phycon.redstone_emitter_mode.digital": "Digital",
"tooltip.phycon.device.configured": "Configured",
"tooltip.phycon.device.ip": "IP: "
"tooltip.phycon.device.ip": "IP: ",
"advancements.phycon.root.title": "Physical Connectivity",
"advancements.phycon.root.description": "Mass item storage and local networking",
"advancements.phycon.cable.title": "At a Distance",
"advancements.phycon.cable.description": "Place Cables to connect multiple devices",
"advancements.phycon.interface.title": "Attachment",
"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.description": "Use a Terminal to interact with a Chest",
"advancements.phycon.switch.title": "Interchange",
"advancements.phycon.switch.description": "Connect multiple devices with a Network Switch",
"advancements.phycon.console.title": "Console",
"advancements.phycon.console.description": "Configure a networked device"
}

View File

@ -0,0 +1,34 @@
{
"parent": "phycon:root",
"display": {
"icon": {
"item": "phycon:cable"
},
"title": {
"translate": "advancements.phycon.cable.title"
},
"description": {
"translate": "advancements.phycon.cable.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"cable": {
"trigger": "minecraft:placed_block",
"conditions": {
"block": "phycon:cable",
"item": {
"item": "phycon:cable"
}
}
}
},
"requirements": [
[
"cable"
]
]
}

View File

@ -0,0 +1,33 @@
{
"parent": "phycon:switch",
"display": {
"icon": {
"item": "phycon:console"
},
"title": {
"translate": "advancements.phycon.console.title"
},
"description": {
"translate": "advancements.phycon.console.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"console": {
"trigger": "minecraft:item_used_on_block",
"conditions": {
"item": {
"item": "phycon:console"
}
}
}
},
"requirements": [
[
"console"
]
]
}

View File

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

View File

@ -0,0 +1,35 @@
{
"display": {
"icon": {
"item": "phycon:terminal"
},
"title": {
"translate": "advancements.phycon.root.title"
},
"description": {
"translate": "advancements.phycon.root.description"
},
"frame": "task",
"show_toast": false,
"announce_to_chat": false,
"hidden": false,
"background": "phycon:textures/block/casing.png"
},
"criteria": {
"copper": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:copper_ingots"
}
]
}
}
},
"requirements": [
[
"copper"
]
]
}

View File

@ -0,0 +1,34 @@
{
"parent": "phycon:cable",
"display": {
"icon": {
"item": "phycon:switch"
},
"title": {
"translate": "advancements.phycon.switch.title"
},
"description": {
"translate": "advancements.phycon.switch.description"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"switch": {
"trigger": "minecraft:placed_block",
"conditions": {
"block": "phycon:switch",
"item": {
"item": "phycon:switch"
}
}
}
},
"requirements": [
[
"switch"
]
]
}

View File

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