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

https://github.com/dockyardmc/minecraftpacketdata

Json representations of all packets
https://github.com/dockyardmc/minecraftpacketdata

Last synced: over 1 year ago
JSON representation

Json representations of all packets

Awesome Lists containing this project

README

          

# Minecraft Packet Data
A json representation of all minecraft packets. Generated by [DockyardMC/PacketGenerators](https://github.com/DockyardMC/PacketGenerators) from [wiki.vg](https://wiki.vg/Protocol) data

---


**Kotlinx Serialization**

Here are pre-made data classes for use with kotlinx-serialization
```kotlin
@Serializable
data class Packet(
var id: String,
val header: String,
val packet: String,
@SerialName("protocol_state")
var protocolState: String,
@SerialName("bound_to")
var boundTo: String,
var content: List
)

@Serializable
data class PacketField(
val field: String,
val type: String
)
```