Minecraft is the next frontier for Artificial Intelligence.
It's a huge game with many mechanics and complicated sequences of actions. To teach players how to play Minecraft requires an entire wiki with over 8000 pages. F email is amazing but how effective can it be?
This is the question we will answer in this article. We'll create bots to tackle one of the most difficult Minecraft problems such as finding diamonds. We'll also try this challenge in randomly generated worlds to ensure we don't know a specific seed.
What we're gonna talk about isn't just only applicable to Minecraft. It can be applied to similar complex environments . Particularly we will apply two different techniques that will form the basis of our intelligent agent.
But before we can train an agent, we have to understand how to interact with the environment. Let's start by creating a scripted bot, so we can get familiar with the syntax. We'll use MineRL, a great library to build AI applications in Minecraft.
The code used in this article is available on Google Colab. It is a simplified and finetuned version of the notebooks created by the organizers of the MineRL 2021 competition (MIT License).