From 4bb10a57616c38608773a3d66f6d15eb9c4cfe9c Mon Sep 17 00:00:00 2001 From: u9g Date: Tue, 14 Jun 2022 19:04:19 -0400 Subject: [PATCH] Add ARMOR tag to MaterialTags (1.19) (#7987) --- patches/api/Add-Material-Tags.patch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patches/api/Add-Material-Tags.patch b/patches/api/Add-Material-Tags.patch index 7ae6616727..34102a6c01 100644 --- a/patches/api/Add-Material-Tags.patch +++ b/patches/api/Add-Material-Tags.patch @@ -627,6 +627,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + .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. + */ + public static final MaterialSetTag BOWS = new MaterialSetTag(keyFor("bows"))