Use the the arrow keys to move the players mouse.Also use the arrow keys to control the player.1 for grass block,2 for dirt block,3 for stone block,4 for oak block,5 for door,6 for classic wood block,7 for window,8 for leaf.Press these to switch blocks.Move the players mouse to the block and click anywhere to destroy.To place a block move to anywhere and press the number,then press space.Press D for sword,press C to hide it.Most of the boses you need to swing the sword at them 20 times,only the ender dragon needs you to swing at it 30 times.
Thanks to @Mattant for the tutorial. I did all the coding. I only followed part one for this. Thanks to @MinecraftBuddy245 for the sounds. Here is the tutorial:https://www.youtube.com/watch?v=oWnY-Wa0au8&ab_channel=Mattant If you want more blocks,tell me in the comments. There are also suprises.If you find herobrine,don't panic he's not a error he's part of the game.Swing the sword at him 20 times to deafeat him. Try Summon Bosses. :] Have fun!