MinecraftEnv
Lightweight minecraft RL environment on fabric
Features
- Works on minecraft 1.21
- Used fabric mod
- JDK: 21
initial environment
- Inventory commands
- Entities
- World seed
- is world superflat
- is hardcore
- initial x, y, z
- always night / day
- do mob spawn
- screen size (visible/observed)
- Arbitrary commands (e.g. status effects)
- keys for statistics
- Hud is visible
Observation space
- rgb
- x, y, z
- pitch, yaw
- health, food_level, saturation_level
- is_dead
- inventory
- looking at entites, blocks
- sound subtitles
- status effects
- statistics
- visible entities
- surrounding entities
- is bobber thrown
Action space
- Similar to https://docs.minedojo.org/sections/core_api/action_space.html
- No crafting yet
- Arbitrary command (you should hide this for the agents)
Controlled by this reinforcement learning agent: https://github.com/yhs0602/CraftGround
renderDistance:6 simulationDistance:6
Build cpp
mkdir build
cd build
cmake ../src/main/cpp
Docs on MinecraftEnv.kt
ResetPhase
- Initial: END_RESET
- After reading initial environment: WAIT_INIT_ENDS
IOPhase
- Initial: BEGINNING
- After reading initial environment: GOT_INITIAL_ENVIRONMENT_SHOULD_SEND_OBSERVATION
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file craftground_runtime_mc121-0.1.0.tar.gz.
File metadata
- Download URL: craftground_runtime_mc121-0.1.0.tar.gz
- Upload date:
- Size: 421.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b3dd58c0f6b541fbb39241f3ec5e39c47ccb972e6926eab3eb34a95758b14ea
|
|
| MD5 |
7dd4930b91f48f45748fbb91bbf7d08f
|
|
| BLAKE2b-256 |
b0e623d5f4de09b9ca26231edfedf281e3e61ed04bdfa9bc294b0636d6a58862
|
File details
Details for the file craftground_runtime_mc121-0.1.0-py3-none-any.whl.
File metadata
- Download URL: craftground_runtime_mc121-0.1.0-py3-none-any.whl
- Upload date:
- Size: 474.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5255fbfc5eff1cdbf80e68b834e5ecaebd69c7953d756a2148485f6392c46d5d
|
|
| MD5 |
ca06bbfbe23ce8ab6ac90d0d8719f445
|
|
| BLAKE2b-256 |
4b2fd1fb60a2c882807140a0bc24b1f39fb709b1a33e8fa87e94e07752ccca8f
|