Its works, but block state ids are currently not mapped, meaning that when using the current default world gen the client mostly will disconnect due to a not found block state id, vanilla version compatible worlds should work
10 lines
242 B
Rust
10 lines
242 B
Rust
use pumpkin_data::packet::serverbound::PLAY_CHAT_COMMAND;
|
|
use pumpkin_macros::java_packet;
|
|
use serde::Serialize;
|
|
|
|
#[derive(serde::Deserialize, Serialize)]
|
|
#[java_packet(PLAY_CHAT_COMMAND)]
|
|
pub struct SChatCommand {
|
|
pub command: String,
|
|
}
|