{
   "format_version":"1.16.100",
   "minecraft:item":{
      "description":{
         "identifier":"vatonage:legendary_tome"
      },
      "components":{
         "minecraft:max_stack_size":1,
         "minecraft:foil":false,
         "minecraft:stacked_by_data":false,
         "minecraft:icon":{
            "texture":"legendary_tome"
         },
         "minecraft:display_name":{
            "value":"Legendary Tome"
         },
         "minecraft:on_use":{
            "on_use":{
               "event":"used"
            }
         }
      },
      "events":{
         "used":{
            "swing":{
               
            },
            "run_command":{
               "command":[
                  "function legendary"
               ]
            }
         }
      }
   }
}