mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 12:12:08 -07:00
Add material tags for deepslate ores (#7174)
This commit is contained in:
@@ -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.
|
||||
+ */
|
||||
|
Reference in New Issue
Block a user