Pumpkin/pumpkin-protocol/src/java/server/play/chat_command.rs
Alexander Medvedev 186ad2edea feat: 1.21.7-1.21.11 support
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
2026-01-25 23:08:28 +01:00

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,
}