Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfresh2/mcprotocollib
A library for communication with a Minecraft client/server.
https://github.com/rfresh2/mcprotocollib
Last synced: about 1 month ago
JSON representation
A library for communication with a Minecraft client/server.
- Host: GitHub
- URL: https://github.com/rfresh2/mcprotocollib
- Owner: rfresh2
- License: mit
- Created: 2023-07-07T01:58:30.000Z (over 1 year ago)
- Default Branch: 1.20.4
- Last Pushed: 2024-04-24T09:10:45.000Z (7 months ago)
- Last Synced: 2024-04-24T12:04:06.123Z (7 months ago)
- Language: Java
- Size: 4.56 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MCProtocolLib
MCProtocolLib is a simple library for communicating with a Minecraft client/server. It aims to allow people to make custom bots, clients, or servers for Minecraft easily.This project is forked from [GeyserMC/MCProtocolLib](https://github.com/GeyserMC/MCProtocolLib)
The primary purpose is to make changes I need for [ZenithProxy](https://github.com/rfresh2/ZenithProxy/)
and generally improve performance in terms of memory usage and latency.## Features
* Uses [my custom OpenNBT/ViaNBT fork](https://github.com/rfresh2/OpenNBT) that defers deserialization to bytes instead of objects
* Includes an optimized Component -> binary NBT writer instead of going through multiple JSON and NBT object conversions
* Various changes to the netty pipeline and configuration including velocity native compression and encryption
* Additional methods for sending packets or lists of packets as a single operation
* Public interfaces, constructors, and mutable variables where I need them## Usage
I don't maintain this for use by others and I can't make any guarantees about the API stability.
However, I do maintain support for older MC versions longer than upstream when I support those in ZenithProxy.
Precompiled artifacts are available on [my personal maven](https://maven.2b2t.vc) or [JitPack](https://jitpack.io/#rfresh2/MCProtocolLib/)
## Building the Source
MCProtocolLib uses Gradle to manage dependencies. Simply run '.\gradlew build' in the source's directory.## License
MCProtocolLib is licensed under the **[MIT license](http://www.opensource.org/licenses/mit-license.html)**.