There is no built-in controller support on the PC version of Minecraft.
You will need something like Xpadder to change each controller input to a keyboard/mouse input in order to use a controller.
The Minecraft: Windows 10 Edition supports multiple control schemes, including controllers and touchscreens.
Can you use Xbox one controller on Minecraft PC?
How to Use Xbox One Controller on Minecraft PC. Download the Windows 10 Edition (it’s free if you own the regular PC edition). It works with a controller and has almost all other features now.
How do I use a controller for Minecraft on Windows 10?
How to Use an Xbox One Controller with Minecraft Windows 10 Edition
Does Minecraft Java Edition have controller support?
Both versions support mouse and keyboard, but only one supports controllers. Despite releasing in 2010, Mojang hasn’t implemented controller support for Java Edition.
How do I play Minecraft with a controller on my Iphone?
How To Play MINECRAFT PE With A XBOX ONE/PS4 –
Can you use an Xbox controller on Minecraft Java?
Is there a way to play minecraft java with an xbox controller? Yes get controller companion from steam it’s about 1.99 and you don’t have to run Minecraft through steam it works with the normal launcher. One of the best things about Java edition is that keyboard/mouse is by far the best control for Minecraft.
Is Xpadder free?
Works with a joystick, gamepad, and arcade sticks. Xpadder is free to download and works with all versions of Windows.