Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/storycraft/serde-mc

Performant Minecraft network data serialization / deserialization library
https://github.com/storycraft/serde-mc

Last synced: 6 days ago
JSON representation

Performant Minecraft network data serialization / deserialization library

Awesome Lists containing this project

README

        

# SerdeMC
Performant Minecraft network data serialization / deserialization library

Almost all protocol libraries are containing unnecessary dependencies(excluding utilities) such as bukkit, netty, etc. While it can enhances user experience in some cases, it is hard to manage, broke easily and have limited usage. This library does not have these dependencies, allowing user to do anything. Such as creating custom server, bukkit plugin, mod, proxy or any other external software requiring mcpc data structure.

Every deserialization and serialization operations depend on `DataReader`, `DataWriter` interfaces. User only need to implements primitive(byte, short, int, long) io operations to support any operations between external source or destination. There are adapters for Java's `InputStream`, `OutputStream` and `ByteBuffer` by default.

## Features
Packet, metadata, nbt, particle data structures, serialization and deserialization.

Packet data abstractions are not exists yet. Metadata, particle codecs are hardcoded to match latest mcpc(1.19.4) and planned be auto generated by tool in future.

## Example
No example codes yet. See `api/test` for test codes.

## License
SerdeMC is following Apache license 2.0