[
  {
    "function": "minecraft:set_custom_data",
    "tag": {
      "IsDirty": true
    }
  },
  {
    "function": "minecraft:set_lore",
    "entity": "this",
    "lore": [
      {
        "text": "(Dirty)",
        "color": "dark_gray",
        "italic": false
      }
    ],
    "mode": "append"
  }
]