mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Add material tags for deepslate ores (#7174)
This commit is contained in:
parent
c5843511ae
commit
7c75e3b68a
@ -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.
|
||||
+ */
|
||||
|
Loading…
Reference in New Issue
Block a user