Add advancements for covers. Fixes #1869
This commit is contained in:
		@@ -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"
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -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"
 | 
			
		||||
          }
 | 
			
		||||
        ]
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@@ -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: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: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
 | 
			
		||||
		Reference in New Issue
	
	Block a user