Name | trim |
Object | ItemTag |
Input | MapTag |
Related Tags | <ItemTag.trim> (Property) An armor item's trim. (...)
|
Description | (Property) An armor item's trim.
Allowed keys: material, pattern. Valid material values can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/trim/TrimMaterial.html Valid pattern values can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/trim/TrimPattern.html Valid values also include ones added by datapacks, plugins, etc. as a namespaced key. For the mechanism, if an item already has a trim, you can omit either material or pattern to keep the original data while also changing the other option. For example, if you only want to change the pattern and not the material, you can omit the material, and it will use the already existing material. |
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemTrim.java#L16 |