Skip to main content

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

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

  1. Initial: END_RESET
  2. After reading initial environment: WAIT_INIT_ENDS

IOPhase

  1. Initial: BEGINNING
  2. 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

craftground_runtime_mc121-0.1.0.tar.gz (421.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

craftground_runtime_mc121-0.1.0-py3-none-any.whl (474.3 kB view details)

Uploaded Python 3

File details

Details for the file craftground_runtime_mc121-0.1.0.tar.gz.

File metadata

File hashes

Hashes for craftground_runtime_mc121-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1b3dd58c0f6b541fbb39241f3ec5e39c47ccb972e6926eab3eb34a95758b14ea
MD5 7dd4930b91f48f45748fbb91bbf7d08f
BLAKE2b-256 b0e623d5f4de09b9ca26231edfedf281e3e61ed04bdfa9bc294b0636d6a58862

See more details on using hashes here.

File details

Details for the file craftground_runtime_mc121-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for craftground_runtime_mc121-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5255fbfc5eff1cdbf80e68b834e5ecaebd69c7953d756a2148485f6392c46d5d
MD5 ca06bbfbe23ce8ab6ac90d0d8719f445
BLAKE2b-256 4b2fd1fb60a2c882807140a0bc24b1f39fb709b1a33e8fa87e94e07752ccca8f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page