How to install
Put magic_wand.zip in saves/<your world>/datapacks/ (without unzipping it).
In the game, type /reload.
You’ll see a message in the chat that the datapack is loaded.
How to use
/function wand:give gives you the wand directly.
You can also craft it with the recipe: ender pearl at the top right, blaze rods diagonally (pearl → rod → rod).
Right-clicking with it teleports you forward.