Add advancements for covers. Fixes #1869

This commit is contained in:
raoulvdberge
2018-07-12 15:26:19 +02:00
parent d3c1b1d0a3
commit 24f1ba656d
3 changed files with 59 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
{
"display": {
"icon": {
"item": "refinedstorage:cover",
"nbt": "{Item:{id:\"minecraft:stonebrick\",Count:1b,Damage:0s}}"
},
"title": {
"translate": "advancements.refinedstorage:covering"
},
"description": {
"translate": "advancements.refinedstorage:covering.description"
}
},
"parent": "refinedstorage:connecting",
"criteria": {
"cover_in_inventory": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "refinedstorage:cover"
}
]
}
}
}
}

View File

@@ -0,0 +1,27 @@
{
"display": {
"icon": {
"item": "refinedstorage:hollow_cover",
"nbt": "{Item:{id:\"minecraft:stonebrick\",Count:1b,Damage:0s}}"
},
"title": {
"translate": "advancements.refinedstorage:hollow_covering"
},
"description": {
"translate": "advancements.refinedstorage:hollow_covering.description"
}
},
"parent": "refinedstorage:covering",
"criteria": {
"hollow_cover_in_inventory": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "refinedstorage:hollow_cover"
}
]
}
}
}
}

View File

@@ -364,3 +364,7 @@ advancements.refinedstorage:interface_to_the_world=Interface to the world
advancements.refinedstorage:interface_to_the_world.description=Make your storage system available as a regular inventory to the world by using an Interface advancements.refinedstorage:interface_to_the_world.description=Make your storage system available as a regular inventory to the world by using an Interface
advancements.refinedstorage:storing_externally=Storing externally advancements.refinedstorage:storing_externally=Storing externally
advancements.refinedstorage:storing_externally.description=Use an External Storage to provide the network with storage from an external block like a chest advancements.refinedstorage:storing_externally.description=Use an External Storage to provide the network with storage from an external block like a chest
advancements.refinedstorage:covering=Covering
advancements.refinedstorage:covering.description=Craft a Cover to hide cables
advancements.refinedstorage:hollow_covering=Hollow covering
advancements.refinedstorage:hollow_covering.description=Craft a Hollow Cover to hide cables, but still let cable through