Create A Bot To Find Diamonds In Minecraft


Minecraft is the next frontier for Artificial Intelligence.



It's a huge game with many mechanics and intricate sequences of actions. To teach people how to play Minecraft is an entire wiki with over 8000 pages. Artificial intelligence is amazing but how effective can it be?



This is the question we will answer in this article. We will create a bot to attempt one of the most difficult Minecraft challenges: finding diamonds. To make welcome to my blog 'll tackle this challenge in randomly generated environments so we won't be able to learn a particular seed.



We're not restricting our discussion to Minecraft. It can also be used in complex environments. We will use two techniques to build the foundation of our intelligent agent.



However, before we can create an agent, we need to understand how to interact with the environment. Let's begin by creating a scripted bot in order to get familiar with the syntax. We'll use MineRL, a wonderful library that lets you build AI applications in Minecraft.



Google Colab has the code for this article. It is a simplified and refined version of the excellent notebooks created by the organizers of the MineRL 2021 competition (MIT License).

Public Last updated: 2022-07-11 02:22:02 AM