Skip to content

Base of CraftGround, ⚡⚡ Lightning-Fast Minecraft Reinforcement Learning environment based on fabric

License

Notifications You must be signed in to change notification settings

yhs0602/MinecraftEnv

Repository files navigation

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