New Features:
- Added the ability for an item to have damage applied to it.
- You might need a mod to be able to see how much durability an item has by default in order to apply the correct damage.
- Added the ability for armor trims.
Code (YAML):
Trims:
Item
: 'DIAMOND_HELMET'
Name
: '&8&l>&7&l>&cTrim Example&7&l<&8&l<'
# Only works on items with durability. This will make the item appear more damaged.
# It does not set the durability but subtracts this number from the durability
# Durability is 100, It subtracts 50.
# It cannot be 0.
DisplayDamage
: 50
DisplayTrim
:
# Available Materials: https://jd.papermc.io/paper/1.20/org/bukkit/inventory/meta/trim/TrimMaterial.html
Material
: 'QUARTZ'
# Available Patterns:
# https://jd.papermc.io/paper/1.20/org/bukkit/inventory/meta/trim/TrimPattern.html
Pattern
: 'SENTRY'
Lore
:
- '&7Use this voucher to get fancy trims.'
- '&7&l
(&6&l!&7&l
) &7Right click to redeem.'
Glowing
: true
# Available Materials: https://jd.papermc.io/paper/1.20/org/bukkit/inventory/meta/trim/TrimMaterial.html
# Available Patterns: https://jd.papermc.io/paper/1.20/org/bukkit/inventory/meta/trim/TrimPattern.html
Items
:
- 'Item:DIAMOND_HELMET, Damage:50, Trim-Pattern:SENTRY, Trim-Material:QUARTZ, Amount:1, Protection:4, Respiration:1, Aqua_Affinity:3, Unbreaking:3, Thorns:3'
- 'Item:DIAMOND_CHESTPLATE, Damage:50, Trim-Pattern:DUNE, Trim-Material:REDSTONE, Amount:1, Protection:4, Unbreaking:3, Thorns:3'
Other: