From 0ce4f87779feafc0873e75466748f90ef91138bb Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 9 Jun 2023 12:02:50 +1000 Subject: [PATCH] #686: Add missing trim patterns added in 1.20 By: Parker Hawke --- .../inventory/meta/trim/TrimPattern.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java index a63b1e2456..2365220dc0 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java @@ -54,4 +54,24 @@ public interface TrimPattern extends Keyed { * {@link Material#SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE}. */ public static final TrimPattern SPIRE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("spire")); + /** + * {@link Material#WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE}. + */ + public static final TrimPattern WAYFINDER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("wayfinder")); + /** + * {@link Material#SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE}. + */ + public static final TrimPattern SHAPER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("shaper")); + /** + * {@link Material#SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE}. + */ + public static final TrimPattern SILENCE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("silence")); + /** + * {@link Material#RAISER_ARMOR_TRIM_SMITHING_TEMPLATE}. + */ + public static final TrimPattern RAISER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("raiser")); + /** + * {@link Material#HOST_ARMOR_TRIM_SMITHING_TEMPLATE}. + */ + public static final TrimPattern HOST = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("host")); }