Skip to content

willemml/hl-mc-kt

Repository files navigation

GitHub Workflow Status

Headless Minecraft Kotlin (hl-mc-kt)

This is a headless client for vanilla Minecraft servers, it is written in Kotlin and has support for movement and chat. This project can be use both as a library and a standalone application.

My other project, kt-cmd is used for the managing and parsing of commands.

Building:

Clone the repo and enter its directory:

  • git clone https://github.com/willemml/hl-kt-mc
  • cd hl-mc-kt

Update the submodules:

  • git submodule update --init --recursive

Build:

  • ./gradlew build

Running with gradle:

  • ./gradlew run

Credits

  • Steveice10's MCProtocolLib for saving me lots of time.
  • PorkStudios' PorkLib for Minecraft text parsing.
  • PrismarineJS' minecraft-data for easy to access block and item definitions.