mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-17 23:01:01 +01:00
Add ARMOR tag to MaterialTags (1.19) (#7987)
This commit is contained in:
parent
9a120dfa41
commit
4bb10a5761
1 changed files with 6 additions and 0 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue