I want to transfert my PC minecraft world to Xbox. It has command blocks that do various things like teleporting. My questiln is, can I convert, and will the command blocks still work?
Java (PC) and Bedrock (Xbox PS4 tablets phones VR etc.) are simply not compatible. Unless, your PC world is on the Bedrock version and you're playing the Windows 10 edition, I don't believe you can transfer your world. (NOTE: just because you may be playing on a computer with Windows 10, doesn't necessarily mean you're playing the Windows 10/Bedrock edition)