Item comparator

The item comparator is a generic comparator that works with certain condition checking for a specific item.

With this comparator, you can compare item with:

  • Their name

  • Their custom model data

  • Their material(s)

conditions:
  condition_name:
    name: "the excalibur"
    materials:
      - "GOLDEN_SWORD"
      - "DIAMOND_SWORD"
      - "NETHERITE_SWORD"
    custom_model_data: 3

It also work with some external plugin:

  • Item Adder (to check if the item is a certain item adder item).

  • Oraxen (to check if the item is a certain oraxen item).

conditions:
  condition_name:
    item_adder: "sword:excalibur"
    oraxen: "excalibur"

Please note that each parameter is OPTIONAL meaning that, if you don't put them, they will not be checked. This makes it possible to only check for a specific element.

Last updated