Skip to content

PKU-RL/MCEnv-COPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modified MineDojo Package

The code is a slightly modified version of MineDojo used for COPL.

Installation

Please refer to this document for the package installation and use. Note that Python>=3.9 is required.

Install modified MineDojo:

git clone https://github.com/PKU-RL/MCEnv_COPL.git
cd MCEnv_COPL
pip install -e .

Modifications on MineDojo

  • We support multi-task environment setting, which is able to include combat tasks and harvest tasks simutaneously. See minedojo/tasks/meta/multi_task.py.
  • We support randomly teleporting the player in the fast_reset mode: when calling env.reset(), the player will be teleported to a random location near its initial spawn point.