Update docs & README
This commit is contained in:
3 files changed
+8
-2
No files matched your search
@@ -12,6 +12,10 @@ A lightweight minecraft client-side protocol library for Kotlin Native and JVM
|
|||||||
| | Linux ARM64 | **Not Tested** |
|
| | Linux ARM64 | **Not Tested** |
|
||||||
| **macOS** | macOS ARM64 (Silicon) | **Not Tested** |
|
| **macOS** | macOS ARM64 (Silicon) | **Not Tested** |
|
||||||
|
|
||||||
|
# Get started
|
||||||
|
|
||||||
|
[LibMC Document](docs/README.md)
|
||||||
|
|
||||||
# Minecraft Protocol Library Status
|
# Minecraft Protocol Library Status
|
||||||
|
|
||||||
## Implementation details
|
## Implementation details
|
||||||
|
|||||||
@@ -92,11 +92,11 @@ fun main() {
|
|||||||
socketEngine = KtorNetworkEngine()
|
socketEngine = KtorNetworkEngine()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
cli.session.onEvent<SessionEvent.ConnectedEvent> {
|
cli.onEvent<SessionEvent.ConnectedEvent> {
|
||||||
println(status())
|
println(status())
|
||||||
disconnect()
|
disconnect()
|
||||||
}
|
}
|
||||||
cli.session.onEvent<SessionEvent.DisconnectedEvent> {
|
cli.onEvent<SessionEvent.DisconnectedEvent> {
|
||||||
println(it.reason.toJsonString())
|
println(it.reason.toJsonString())
|
||||||
}
|
}
|
||||||
cli.connect()
|
cli.connect()
|
||||||
@@ -18,6 +18,8 @@ module relies on the following dependencies:
|
|||||||
|
|
||||||
# Protocol
|
# Protocol
|
||||||
|
|
||||||
|
[Protocol](Protocol.md)
|
||||||
|
|
||||||
> `libmc-protocol` is current under development. It only supports the latest Minecraft version
|
> `libmc-protocol` is current under development. It only supports the latest Minecraft version
|
||||||
> (Current supported Minecraft version: `26.2`, Protocol Version Number: `776`)
|
> (Current supported Minecraft version: `26.2`, Protocol Version Number: `776`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user