Read this blog on how to get started with David Whales BitIO library. (here)

Introduction

This code uses the Micro:bit as an interactive controller in Minecraft. You can read all about it in BitIO blog 1 here to fully understand how to set it up and run it. But suffice to say that the Brains behind it is David Whale. Over the course of the the last 8 months I have been integrating the Micro:bit into my Minecraft coding experiments.