Items

With AdvancedTrades, your villagers can trade custom items with fully modifiable NBT tags, names, materials and custom model data.

Modifiable settings for item configurations:

  • type - item's material

  • id - item's durability

  • amount - item's amount

  • name - item's custom name

  • lore - item's custom lore

  • item-flags - list of item flags applied to items

  • custom-model-data - item's custom model data for custom textures

  • force-glow - set whether item should glow or not

  • enchantments - list of enchantments applied to item

  • rgb-color - item's color (applyable for colored leather armor)

  • nbt - set item's custom nbt (json format)

Example of all settings in effect:

      item: 
        amount: 1
        name: '&cCustom chestplate'
        lore:
          - '&dExclusive from &dVillagers'
        enchantments:
          - 'Protection:20'
          - 'Unbreaking:2'
        item-flags:
          - 'HIDE_ENCHANTS'
        custom-model-data: 1
        force-glow: false
        rgb-color: 255;0;0
        nbt: '{CanDestroy:["minecraft:diamond_ore"],CustomNBTData:"test:true"}'

Last updated