Create A Bot To Find Diamonds In Minecraft

From World History
Jump to: navigation, search

Minecraft is the next frontier of Artificial Intelligence.



It's a huge game with many mechanics and complex sequences of actions. To teach Just another wordpress site how to play Minecraft requires the form of a wiki that has more than 8000 pages. How effective is artificial intelligence?



This is the question that we will answer in this article. We'll create a bot to attempt to solve one of the most difficult challenges in Minecraft finding diamonds from scratch. We'll also attempt this challenge in randomly generated worlds to make sure 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 . We will use two techniques to build the backbone of our intelligent agent.



Before we can create an agent, we need to be able to communicate with the environment. Let's start with a scripted bot so we can get familiar with the syntax. MineRL is a great library to create 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).