Add material tags for deepslate ores (#7174)

This commit is contained in:
Jacob Andersen 2022-01-09 20:25:22 -08:00
parent c5843511ae
commit 7c75e3b68a

View File

@ -682,12 +682,18 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ .add(Material.RAW_COPPER, Material.RAW_GOLD, Material.RAW_IRON);
+
+ /**
+ * Covers the variants of deepslate ores.
+ */
+ public static final MaterialSetTag DEEPSLATE_ORES = new MaterialSetTag(keyFor("deepslate_ores"))
+ .add(material -> material.name().startsWith("DEEPSLATE_") && material.name().endsWith("_ORE"))
+ .ensureSize("DEEPSLATE_ORES", 8);
+
+ /**
+ * Covers the variants of raw ore blocks.
+ */
+ public static final MaterialSetTag RAW_ORE_BLOCKS = new MaterialSetTag(keyFor("raw_ore_blocks"))
+ .add(Material.RAW_COPPER_BLOCK, Material.RAW_GOLD_BLOCK, Material.RAW_IRON_BLOCK);
+
+
+ /**
+ * Covers all oxidized copper blocks.
+ */