This is an old post, but I figured I'd leave the answer here for anyone in the future since I was struggling to find it
You can change this by opening the world edit menu with the tilde ` key and then lock your movement axis to Y. The option is in the panel on the right
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.