MythicChanger Wiki
  • 🎉Welcome
  • 📦Info
    • âś…Requirements
    • ⚙️Install
    • â›”Limitation
    • đź”—Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • âť“FAQ
    • đź“‹Format
    • 🆚Compare
  • 🤖Auto Match & Change
    • đź“‚Info of Auto Match & Change
    • 📌Rule
    • 📚Rule Config Example - Lore Modifier
    • 📚Rule Config Example - Vanilla Item Replacer
    • 📚Rule Config Example - Illegal Enchant Level Remover
    • 📚Rule Config Example - Random Replace
  • 🌱Drag/GUI Change
    • đź“‚Info of Drag/GUI Change
    • 🪄Apply Item
    • 📚Apply Item Example - Enchantment Scroll
    • 📚Apply Item Example - Attribute Scroll
    • 📚Apply Item Example - Stat Scroll
  • 🔍Match Rules
    • None
    • Items
    • Material
    • Material Tag
    • Contains Name/Contains Lore
    • Contains Enchants/Stored Enchants
    • Contains Enchants/Stored Enchants Amount
    • Contains Apply
    • Contains NBT
    • Has Name
    • Has Lore
    • Has Enchants
    • Has Apply
    • Rarity
    • NBT
    • NOT
    • ANY
    • Enchantable
    • Item Format
  • 🔄Change Rules
    • ⚠️Note
    • Empty
    • Fix Hide Attributes Bug
    • Add Name
    • Add Lore
    • Add Attributes
    • Set Name/Lore
    • Set Custom Model Data
    • Set Amount
    • Add flag/Remove flag
    • Add enchants
    • Delete enchants
    • Remove Name/Lore
    • Remove Enchants
    • Set Type
    • Random
    • Replace Item
    • Replace Name
    • Replace Lore
    • Replace Enchants
    • Set Color
    • Parse PAPI
    • NBT
    • Edit Item
    • Edit Lore
    • Keep
    • Deapply
    • Apply Limit
    • MMOItems
  • ✨Features
    • 🎨Color Code
    • ⚡Powerful Item Placeholders
    • 🌍Localized Item Name - Premium
    • ✔️Only In Player Inventory
    • đź’ľSaved Item
  • đź’»Develop
    • Add custom rules
Powered by GitBook
On this page
  1. 🔍Match Rules

Item Format

Item Format - Premium

Require item's item format specifed key's value must same as the value set here.

match-item:
  item-format:
    material: ENCHANTED_BOOK
    stored-enchants:
      bane_of_arthropods: 5
  item-format-settings:
    require-same-key: false
    ignore-key:
      - 'amount'

This means only diamond item with custom model data 50 will meet. You can hold the item and use command /mc generateitemformat to generate item format at the plugin (plugins/MythicChanger) folder.

Options for item-format-settings:

  • require-same-key: This means that the items set here must have all the data of the items owned by the player.

  • ignore-key: The list of ItemFormat™ Key that will be ignored when check whether items are same.

PreviousEnchantableNext⚠️Note

Last updated 2 months ago