Minecraft wiki entry for Achievement_guide, associated text: For keyboard: Press E
For controller:
Press on the Xbox 360 & Xbox One & Xbox Series X|S
Press on the PlayStation 3 & PlayStation 4 & PlayStation 5
Press on the Wii U & Nintendo Switch
For touch: Tap ••• (on Hotbar)