Skip to content

nmatter1/legion

Repository files navigation

Legion

Headless Minecraft client written in python. Simulate any amount of players on offline servers without needing multiple accounts and with low resource utilization.

Progress

This library is currently in heavy development. Features currently implemented:

  • player connections
  • login and handshake packets
  • Full chunk data packets
  • Player walking
  • Physics (gravity and knockback)
  • Control web app with minimap and chunk rendering

Usage

  1. Install the requirements pip install -r requirements.txt
  2. Run ./start.sh command to automatically install and start a vanilla 1.21.4 Minecraft server on localhost:25565 in offline mode
  3. Run the command python single.py

A fake player will then iniate a connection, join the server, then read the chunk data at the spawn position

Minecraft.protocol.agents.week.1.of.reinforcement.learning.mp4

About

Headless 1.21.4 client

Topics

Resources

Stars

Watchers

Forks