pub fn as_message17(self) -> PluginMessageServerbound_i16 {
        let mut data = vec![];
        Serializable::write_to(&self.brand, &mut data).unwrap();
        PluginMessageServerbound_i16 {
            channel: "MC|Brand".into(),
            data: crate::protocol::LenPrefixedBytes::<i16>::new(data),
        }
    }
// TODO: cleanup this duplication for 1.7, return either message dynamically
cleanup this duplication for 1.7, return either message dynamically
cleanup this duplication for 1 . 7 return either message dynamically
pub fn as_message17(self) -> PluginMessageServerbound_i16 {
        let mut data = vec![];
        Serializable::write_to(&self.brand, &mut data).unwrap();
        PluginMessageServerbound_i16 {
            channel: "MC|Brand".into(),
            data: crate::protocol::LenPrefixedBytes::<i16>::new(data),
        }
    }
pub fn as_message17 ( self ) -> PluginMessageServerbound_i16 { let mut data = vec ! [ ] ; Serializable :: write_to ( & self . brand , & mut data ) . unwrap ( ) ; PluginMessageServerbound_i16 { channel : " " . into ( ) , data : crate :: protocol :: LenPrefixedBytes :: < i16 > :: new ( data ) , } }
TODO: cleanup this duplication for 1.7, return either message dynamically
TODO : cleanup this duplication for 1 . 7 return either message dynamically
self