Skip to content

CoPokBl/MinecraftDotnet

Repository files navigation

Minecraft Dotnet

This project is a WIP Minecraft protocol implementation.

It supports:

  • Minecraft 1.21.11
  • Serialising and deserialising packets
  • Sending and receiving them over TCP
  • Packet compression
  • Encryption
  • Mojang authentication and profile resolution

It can be used as just a packet library without anything else, or as a full Minecraft server framework that is modular so that you can add only what you want.

Check out the TestServer project for an example of how you can create a Minecraft server implementation.

State

This project is heavily UNDER DEVELOPMENT.
But despite this it is completely possible to make a game.

Examples:

Versioning (Protocol & Managed Server)

0.0.x - 1.21.5
0.1.x - 1.21.10
0.2.x - 1.21.11

The major version is probably going to be used for Minecraft major updates. THERE SHOULD BE ZERO EXPECTATION OF BACKWARDS COMPATIBILITY BETWEEN MINECRAFT VERSIONS (unless protocol compatible). However, if you wish to use an older version of Minecraft then just use an older nuget version of the package.

Contributing

Feel free to submit a pull request with contribution. If I'm missing a packet, data component or similar, then submitting a PR adding that packet is probably the most helpful type of contribution.

About

Minecraft protocol implementation in C#

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5

Languages