{
    "criteria": {
      "trigger": {
        "trigger": "minecraft:consume_item",
        "conditions": {
          "item": {
            "items": "minecraft:amethyst_shard",
            "components": {
              "minecraft:custom_data": "{gravity_crystal:1b}"
            }
          }
        }
      }
    }
  }