{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "flags": {
                "is_on_ground": true,
                "is_flying": false
              }
            }
          }
        ],
        "item": {
          "items": "minecraft:book",
          "components": {
            "minecraft:item_name": {
              "bold":true,
              "color":"dark_green",
              "text":"Emerald Tablet"
            }
          }
        }
      }
    }
  },
  "rewards": {
    "function": "kattersstructures:items/emerald_tablet/effect"
  }
}
