mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-02 05:02:10 -07:00
Add ARMOR tag to MaterialTags (1.19) (#7987)
This commit is contained in:
@@ -627,6 +627,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ .ensureSize("BOOTS", 6).lock();
|
+ .ensureSize("BOOTS", 6).lock();
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
|
+ * Covers all variants of armor.
|
||||||
|
+ */
|
||||||
|
+ public static final MaterialSetTag ARMOR = new MaterialSetTag(keyFor("armor")).add(HELMETS, CHESTPLATES, LEGGINGS, BOOTS)
|
||||||
|
+ .ensureSize("ARMOR", 25).lock();
|
||||||
|
+
|
||||||
|
+ /**
|
||||||
+ * Covers the variants of bows.
|
+ * Covers the variants of bows.
|
||||||
+ */
|
+ */
|
||||||
+ public static final MaterialSetTag BOWS = new MaterialSetTag(keyFor("bows"))
|
+ public static final MaterialSetTag BOWS = new MaterialSetTag(keyFor("bows"))
|
||||||
|
Reference in New Issue
Block a user