Initial Bedrock support

You can't join the World, But the base is ready
This commit is contained in:
Alexander Medvedev committed 2025-06-29 00:33:44 +02:00
1 parent 6a620e4a9e
commit e0c91b3edc
326 files changed
+1772 -797

No files matched your search

@@ -0,0 +1,21 @@
use crate::{Property, VarInt};
pub enum PlayerAction<'a> {
AddPlayer {
name: &'a str,
properties: &'a [Property],
},
InitializeChat(Option<InitChat>),
UpdateGameMode(VarInt),
UpdateListed(bool),
UpdateLatency(u8),
UpdateDisplayName(u8),
UpdateListOrder,
}
pub struct InitChat {
pub session_id: uuid::Uuid,
pub expires_at: i64,
pub public_key: Box<[u8]>,
pub signature: Box<[u8]>,
}