public override byte[] write(DataTypes dataTypes) { return(dataTypes.ConcatBytes( dataTypes.GetString(locale), dataTypes.GetByte(viewDistance), dataTypes.GetVarInt(chatMode), dataTypes.GetBool(chatColors), dataTypes.GetByte(skinParks), dataTypes.GetVarInt(mainHand) )); }