This command for the command block adds a new flying vehicle, with which you can easily get to hard-to-reach places in any location of the game world. But remember that in order for the vehicle to start flying, you need to fill it with coal.
How to use Flying Machine Command Block
- Copy the command text from a file (Ctrl+A -> Ctrl+C)
- Launch the game and get a command block, to do this type in console /give @p command_block
- Put the command block on the ground
- Click on it right click and paste the command in the “Command console” (Ctrl+V)
- Activate the command block using the button or the lever