{
  "criteria": {
    "interact_with_entity": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "entity": {
          "type": "interaction",
          "nbt": "{Tags:[\"OverlyRealistic.Block.IsCustomBlock\"]}"
        }
      }
    }
  },
  "requirements": [
    [
      "interact_with_entity"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:general/custom_blocks/general/player_interact_with_custom_block"
  }
}