From 86765feb923fd2d8d082176dbc5f33dfa7975727 Mon Sep 17 00:00:00 2001
From: drcrazy <hcb@wowhcb.ru>
Date: Sun, 8 Nov 2020 19:02:59 +0300
Subject: [PATCH] Grinder tag for diamond ore. Closes #2275

---
 src/main/resources/data/c/tags/items/diamond_ores.json      | 6 ++++++
 .../resources/data/techreborn/recipes/grinder/diamond.json  | 2 +-
 .../industrial_grinder/diamond_ore_with_mercury.json        | 2 +-
 .../recipes/industrial_grinder/diamond_ore_with_water.json  | 2 +-
 4 files changed, 9 insertions(+), 3 deletions(-)
 create mode 100644 src/main/resources/data/c/tags/items/diamond_ores.json

diff --git a/src/main/resources/data/c/tags/items/diamond_ores.json b/src/main/resources/data/c/tags/items/diamond_ores.json
new file mode 100644
index 000000000..4357d520a
--- /dev/null
+++ b/src/main/resources/data/c/tags/items/diamond_ores.json
@@ -0,0 +1,6 @@
+{
+  "replace": false,
+  "values": [
+	"minecraft:diamond_ore"
+  ]
+}
\ No newline at end of file
diff --git a/src/main/resources/data/techreborn/recipes/grinder/diamond.json b/src/main/resources/data/techreborn/recipes/grinder/diamond.json
index 87b8d1634..c27d0d317 100644
--- a/src/main/resources/data/techreborn/recipes/grinder/diamond.json
+++ b/src/main/resources/data/techreborn/recipes/grinder/diamond.json
@@ -4,7 +4,7 @@
   "time": 270,
   "ingredients": [
     {
-      "item": "minecraft:diamond_ore"
+      "tag": "c:diamond_ores"
     }
   ],
   "results": [
diff --git a/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_mercury.json b/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_mercury.json
index b2412eb22..74c84b813 100644
--- a/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_mercury.json
+++ b/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_mercury.json
@@ -8,7 +8,7 @@
 	},
 	"ingredients": [
 		{
-			"item": "minecraft:diamond_ore"
+			"tag": "c:diamond_ores"
 		}
 	],
 	"results": [
diff --git a/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_water.json b/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_water.json
index 842164cbd..d5abd916d 100644
--- a/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_water.json
+++ b/src/main/resources/data/techreborn/recipes/industrial_grinder/diamond_ore_with_water.json
@@ -8,7 +8,7 @@
 	},
 	"ingredients": [
 		{
-			"item": "minecraft:diamond_ore"
+			"tag": "c:diamond_ores"
 		}
 	],
 	"results": [