my_inventory_menu_handler: type: world events: on player breaks grass: - inventory open d:in@my_inventory_menu on player clicks in my_inventory_menu priority:100: - determine cancelled on player drags in my_inventory_menu priority:100: - determine cancelled on player clicks my_inventory_menu_slot1 in my_inventory_menu: - narrate "Boom"