Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added first set of advancements. #3344

Open
wants to merge 1 commit into
base: master-MC1.12
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/main/resources/assets/opencomputers/advancements/cable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"display": {
"title": {
"text": "Cable advancement"
},
"description": {
"text": "Description"
},
"icon": {
"item": "opencomputers:cable"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": true
},
"criteria": {
"notImplemented": {
"trigger": "minecraft:impossible"
}
},
"parent": "opencomputers:root"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"display": {
"title": {
"text": "We Still Accept Cards"
},
"description": {
"text": "No ulterior motives. (Craft a Card Base)"
},
"icon": {
"item": "opencomputers:material",
"data": 4
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"hasCardBase": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:material",
"data": 4
}
]
}
}
},
"parent": "opencomputers:root"
}
61 changes: 61 additions & 0 deletions src/main/resources/assets/opencomputers/advancements/cpu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"display": {
"title": {
"text": "Underclocked"
},
"description": {
"text": "Making good use of computing cycles since 2015. (Craft any tier of CPU)"
},
"icon": {
"item": "opencomputers:component",
"data": 0
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"cpuT1": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 0
}
]
}
},
"cpuT2": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 1
}
]
}
},
"cpuT3": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 2
}
]
}
}
},
"requirements": [
[
"cpuT1",
"cpuT2",
"cpuT3"
]
],
"parent": "opencomputers:transistor"
}
24 changes: 24 additions & 0 deletions src/main/resources/assets/opencomputers/advancements/gpu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"display": {
"title": {
"text": "GPU advancement"
},
"description": {
"text": "Description"
},
"icon": {
"item": "opencomputers:card",
"data": 1
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": true
},
"criteria": {
"notImplemented": {
"trigger": "minecraft:impossible"
}
},
"parent": "opencomputers:card_base"
}
97 changes: 97 additions & 0 deletions src/main/resources/assets/opencomputers/advancements/memory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"display": {
"title": {
"text": "Deja Vu"
},
"description": {
"text": "Or is it? (Craft any tier of RAM)"
},
"icon": {
"item": "opencomputers:component",
"data": 6
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"memoryT1": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 6
}
]
}
},
"memoryT1.5": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 7
}
]
}
},
"memoryT2": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 8
}
]
}
},
"memoryT2.5": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 9
}
]
}
},
"memoryT3": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 10
}
]
}
},
"memoryT3.5": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:component",
"data": 11
}
]
}
}
},
"requirements": [
[
"memoryT1",
"memoryT1.5",
"memoryT2",
"memoryT2.5",
"memoryT3",
"memoryT3.5"
]
],
"parent": "opencomputers:transistor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"display": {
"title": {
"text": "Not for Consumption"
},
"description": {
"text": "Mmm, tasty silicon... (Craft any tier of Microchip)"
},
"icon": {
"item": "opencomputers:material",
"data": 7
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"chipT1": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:material",
"data": 7
}
]
}
},
"chipT2": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:material",
"data": 8
}
]
}
},
"chipT3": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:material",
"data": 9
}
]
}
}
},
"requirements": [
[
"chipT1",
"chipT2",
"chipT3"
]
],
"parent": "opencomputers:transistor"
}
24 changes: 24 additions & 0 deletions src/main/resources/assets/opencomputers/advancements/root.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"display": {
"title": {
"text": "OpenComputers"
},
"description": {
"text": "Modular and programmable computers"
},
"icon": {
"item": "opencomputers:tool",
"data": "4"
},
"frame": "task",
"show_toast": false,
"announce_to_chat": false,
"hidden": false,
"background": "minecraft:textures/gui/advancements/backgrounds/stone.png"
},
"criteria": {
"onTick": {
"trigger": "minecraft:tick"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"display": {
"title": {
"text": "The Really Small Things"
},
"description": {
"text": "Craft a Transistor."
},
"icon": {
"item": "opencomputers:material",
"data": 6
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"hasTransistor": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "opencomputers:material",
"data": 6
}
]
}
}
},
"requirements": [
[
"hasTransistor"
]
],
"parent": "opencomputers:root"
}