this is how to use worldedit in minecraft
first, type //wand
next, left click a block
and then, right click a different block
and now, type //set, and then type a block name. if the block name has a space in the name replace it with an underscore ( _ ) for example diamond_ore
and, if you want to undo the changes type //undo
finally, you’ve learned the basics