Create A Bot To Search For Diamonds In Minecraft

Drag to rearrange sections
Rich Text Content


Minecraft is the next frontier in Artificial Intelligence.



It's a massive game that has many mechanics and complicated sequences of actions. It requires an entire Wikipedia with more than 8000 pages to instruct humans how to play Minecraft. How good is artificial intelligence?



This is the question we will answer in this article. We'll create an automated system to tackle one of the most difficult Minecraft challenges such as finding diamonds. To make matters even more difficult, we will take on this task in randomly generated worlds so we won't be able to learn a particular seed.



The topic we'll be discussing is not restricted to Minecraft. It could be applied to other complex environments . We will use two techniques to build the backbone of our intelligent agent.



But before we can train an agent, we have to understand how to interact with the environment. Let's begin with a bot that is scripted so we can get familiar with the syntax. GAMES is a fantastic library to build AI applications in Minecraft.



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

rich_text    
Drag to rearrange sections
Rich Text Content
rich_text    

Page Comments

No Comments

Add a New Comment:

You must be logged in to make comments on this page.