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
- Host: GitHub
- URL: https://github.com/dockyardmc/minecraftpacketdata
- Owner: DockyardMC
- Created: 2024-06-14T04:36:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T16:53:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-05T05:25:45.784Z (over 1 year ago)
- Size: 10.7 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
)
```