Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/storycraft/serde-mc
- Owner: storycraft
- License: apache-2.0
- Created: 2023-03-27T11:36:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-28T08:07:15.000Z (over 1 year ago)
- Last Synced: 2024-10-30T01:47:15.523Z (about 2 months ago)
- Language: Java
- Size: 95.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SerdeMC
Performant Minecraft network data serialization / deserialization libraryAlmost 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