Prism Launcher allows you to run the Minecraft Java Edition on SteamOS and store selected game profiles. Java Edition itself is originally designed for keyboard and mouse: Steam Deck controls need to be set up through Steam Input or compatible controller mode.
Start with a clean game. Add a large assembly and shaders after checking the input, saving the world and all the necessary buttons.