chunkedge_protocol/packets/play/
rename_item_c2s.rs

1use chunkedge_binary::{Bounded, Decode, Encode};
2
3use crate::Packet;
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6pub struct RenameItemC2s<'a> {
7    // In the notican server: The item name may be no longer than 50 characters long, and if it is
8    // longer than that, then the rename is silently ignored.
9    pub item_name: Bounded<&'a str, 32767>,
10}