From 0081e1a8a3f83796b74c8eea9e0b5eb5f6d2a892 Mon Sep 17 00:00:00 2001 From: Collin Barber Date: Wed, 27 Dec 2023 16:46:38 -0500 Subject: [PATCH] Add per-item skin nbt tag --- .../java/me/deecaad/weaponmechanics/utils/CustomTag.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/utils/CustomTag.java b/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/utils/CustomTag.java index 60d89a1e6..292746df8 100644 --- a/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/utils/CustomTag.java +++ b/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/utils/CustomTag.java @@ -104,6 +104,13 @@ public enum CustomTag { */ ATTACHMENTS, + /** + * Weapon skin is stored as a string, and is used by WeaponMechanicsCosmetics + * to determine if a weapon has a set skin. This overrides the player's + * preferred skin. + */ + WEAPON_SKIN, + /** * Armor title is stored as a string, and is used by ArmorMechanics to * determine if an item is a custom armor added by the plugin.