The macro "autoswap" for "Minecraft" can be downloaded and used on simple mouse and keyboard.
Installing the macro is very simple in the Keyran program and increases your skill level in the game, if you follow the
instructions!
The macro for Minecraft Bedrock Edition is designed to automatically replace items in the inventory using the Awto Swap function. It allows you to swap two slots: the slot of your left hand and the slot located under it. For example, if you have a firework in your left hand and a totem of immortality under it, by pressing a preset key, you can instantly move these objects to the desired positions.
Important: make sure that you have disabled the display of craft hints (the button with the image of the chest and the green book) for the macro to work correctly.
The optimal settings include a screen resolution of 1920 x 1080 and a ping in the range of 40-60 ms. If the ping increases, you should consider increasing the delay value indicated in the third line.