Create A Bot To Search For Diamonds In Minecraft


Minecraft is the next frontier of Artificial Intelligence.



It''s a massive game with many mechanics and complex sequences of actions. It requires an entire wiki with over 8000 pages to instruct humans how to play Minecraft. How GAMES is artificial intelligence?



This is the question we''ll address in this article. We''ll develop a bot and attempt to solve one of the most difficult challenges in Minecraft finding diamonds from scratch. We will also be attempting this challenge in randomly generated worlds so that we don''t have a specific seed.



We''re not limiting our discussion to Minecraft. It could be applied to other complex environments . More specifically we will employ two different strategies which will form the backbone of our intelligent agent.



Before we can train an agent we must first be aware of how the environment interacts with it. Let''s start by creating a scripted bot in order to learn the syntax. MineRL is a great tool for building AI applications in Minecraft.



The code used in this article is available on Google Colab. This is an encapsulated version of the excellent notebooks created by the organizers of the MineRL 2021 competition (MIT License).